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