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