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