n,m =[int(input()) for _ in range(2)] if m%2==1: print('No') elif m < 10 and n%2==1: print('No') else: print('Yes')