n,m=map(lambda x:int(x[-1]),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")