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