n = int(input()) m = int(input()) x = 100*n + 10*m print(['No', 'Yes'][x % 2 == 0])