n,m=map(int,input().split()) if (n%2==0)&(m%2==0): print("Yes") elif (n%2==1)&(m%2==0)&(m>=10): print("Yes") else: print("No")