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