N = int(input()) M = int(input()) if (100 * N + 10 * M) % 2 == 0: print('Yes') else: print('No')