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