N = input() x = int(N[-1]) print(x % 2) print("YNeos"[not (len(N) == 1 and x == 2)::2])