from re import X def main(): N = int(input()) match N % 2: case 0: print("YES") case 1: print("NO") if __name__ == "__main__": main()