n=int(input()) if n%4==0: if n%25==0 and n%16!=0: print('No') else: print('Yes') else: print('No')