m,n = map(int,input().split()) for x in range(1,m): y = m - x if x * y == n: print("Yes") break else: print("No")