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