from math import sqrt n,z=map(int,input().split()) if n>=3: print("No") exit() X=[] x=1 while x*x