X = int(input()) if (X/2).is_integer(): print("Yes") else: print("No")