n = int(input()) m = int(input()) if (10 * n + m) % 2 == 0:print("Yes") else:print("No")