A,B=map(int,input().split()) print("Yes" if A*A