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