N = int(input()) print('Yes' if N%180 == 90 else 'No')