a=int(input()) if a==2: print("No") exit() if a%4==1: print("Yes") else: print("No")