n = int(input()) m = int(input()) if (n*10 + m)%2 == 0: print("Yes") else: print("No")