x, y = map(float, input().split()) if (x<=1) and (y>= 1-x) and (y>= 0): if (y >= 2*x*x) and (x < 0): print("YES") elif (x>=0): print("YES") else: print("NO") else: print("NO")