N_str = input() # 文字列としてのNの最後の文字を取得 last_digit = int(N_str[-1]) # 最後の数字が偶数であるかどうかをチェック if last_digit % 2 == 0: print("Yes") else: print("No")