N, M = [int(input().strip()) for i in range(2)] A = N % 2 B = M + A*10 print(['Yes', 'No'][B % 2])