a,b=list(map(int,input().split()))

print(("Yes" if (a*b)%2 else "No"))

print((["No","Yes"][(lambda a:(a[0]*a[1])%2)(list(map(int,input().split())))]))
a, b = list(map(int, input().split()))
print(("Yes" if (a * b) % 2 else "No"))

print((["No", "Yes"][(lambda a: (a[0] * a[1]) % 2)(list(map(int, input().split())))]))

-a, b = list(map(int, input().split())) -print(("Yes" if (a * b) % 2 else "No")) +print((["No", "Yes"][(lambda a: (a[0] * a[1]) % 2)(list(map(int, input().split())))]))