A, B = list(map(int,input().split()))

if(A%2 == B%2 == 1):

  print("Yes")

else:

  print("No")
A, B = list(map(int,input().split()))

if((A*B)%2 == 1):

  print("Yes")

else:

  print("No")
A, B = list(map(int, input().split()))
if A % 2 == B % 2 == 1:
    print("Yes")
else:
    print("No")

A, B = list(map(int, input().split()))
if (A * B) % 2 == 1:
    print("Yes")
else:
    print("No")

-if A % 2 == B % 2 == 1: +if (A * B) % 2 == 1: