s,k = map(int,input().split()) tg = True for i in range(s+1): if i*(s-i) == k: tg = False break if tg: print('No') else: print('Yes')