N = int(input()) M = int(input()) total = 100 * N + 10 * M if total % 2 == 0: # 2人で均等に分けることができる場合 print("Yes") else: print("No")