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

print(('Yes' if a*b%2==1 else 'No'))
a,b = list(map(int,input().split()))

if a*b%2==0:

    print('No')

else:

    print('Yes')
a, b = list(map(int, input().split()))
print(("Yes" if a * b % 2 == 1 else "No"))

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

-print(("Yes" if a * b % 2 == 1 else "No")) +if a * b % 2 == 0: +    print("No") +else: +    print("Yes")