a=int(input())*100 b=int(input())*10 c=a+b if c%2==0: print("Yes") else: print("No")