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