a = int(input()) b = int(input()) a = int(a + b / 10) b = int(b % 10) if a % 2 == 0 and b % 2 == 0: print("Yes") else: print("No")