N=int(input()) K=int(input()) money=N*100+K*10 if money%2==0: print("Yes") else: print("No")