N = int(input()) if N > 4 and N % 4 == 0: print('Yes') else: print('No')