N, M = eval(input().strip()), eval(input().strip()) A = N % 2 B = M + A*10 print(['Yes', 'No'][B % 2])