import math x = int(input()) s = math.sin(x) eps = 1e-8 if abs(s - round(s)) < eps: print("Yes") else: print("No")