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

if a*b%2:print('Yes')

else:print('No')
print(('NYoe s'[eval(input().replace(' ','*'))%2::2]))
a, b = list(map(int, input().split()))
if a * b % 2:
    print("Yes")
else:
    print("No")

print(("NYoe s"[eval(input().replace(" ", "*")) % 2 :: 2]))

-a, b = list(map(int, input().split())) -if a * b % 2: -    print("Yes") -else: -    print("No") +print(("NYoe s"[eval(input().replace(" ", "*")) % 2 :: 2]))