N=int(input()) if N%4==0 and N%100: print("Yes") elif N%4==0: print("Yes") elif N % 100==0: print("No") else: print("No")