n=int(input()) m=int(input()) yes = 0 if n%2 and m>=10 and m%2==0: yes=1 elif n%2==0 and m%2==0: yes=1 print('Yes' if yes else 'No')