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