import math x = int(input()) # read input s = math.sin(x) # sin(x), where x is in radians # Check if s is "close enough" to an integer (avoid floating point errors) if abs(s - round(s)) < 1e-8: print("Yes") else: print("No")