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