import sys sys.set_int_max_str_digits(1000000) x = int(input()) print(x%2) print("No" if x != 2 else "Yes")