a = int(input()) if a%180 == 90: print("YES") else: print("No")