def main(): N = int(input()) match N % 2: case 0: print("Yes") case 1: print("No") if __name__ == "__main__": main()