import sys readline = sys.stdin.readline N = int(input()) print('Yes' if N % 180 == 90 else 'No')