import sys sys.set_int_max_str_digits(0) H, S = map(int, input().split()) if H % 2 == S % 2: print("Yes") else: print("No")