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