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