N = int(input()) if N % 180 == 90: print("Yes") else: print("No")