You are given integers A and B, each between 1 and 3 (inclusive).
Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number.

-----Constraints-----
 - All values in input are integers.
 - 1 \leq A, B \leq 3

-----Input-----
Input is given from Standard Input in the following format:
A B

-----Output-----
If there is an integer C between 1 and 3 that satisfies the condition, print Yes; otherwise, print No.

-----Sample Input-----
3 1

-----Sample Output-----
Yes

Let C = 3. Then, A \times B \times C = 3 \times 1 \times 3 = 9, which is an odd number.

Difficulty: introductory

Starter code:

Solutions:
a, b = map(int, input().split())
if a == 2 or b == 2:
  print('No')
else:
  print('Yes')

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

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

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

n=input()
print("Yes" if "2" not in n  else "No")

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

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

if A*B%2 == 0 :
    print('No')
else :
    print('Yes')

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


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

if (a * b) % 2 == 0:
    print('No')
else:
    print('Yes')


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

A,B = map(int,input().split())
if A%2 == 0 or B%2 == 0:
  print('No')
else:
  print('Yes')

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

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

ans = 0
for i in range(3):
    if(A*B*(i+1)%2 == 1):
        print("Yes")
        return

print("No")



A, B = map(int, input().split())
flg = False
for i in range(1, 4):
    if A * B * i % 2 == 1:
        flg = True
        break
if flg:
    print('Yes')
else:
    print('No')

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


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

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

for C in range(1,4):
    if A*B*C%2==1:
        count=count+1

if count>=1:
    print('Yes')

elif count==0:
    print('No')


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


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

x,y = [int(_) for _  in input().split()]
if x*y % 2==0:
  print("No")
else:
  print("Yes")

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

A,B = map(int,input().split())
check = False
for C in range(1,4):
  if (A * B * C) % 2 == 1:
    check = True
    
print("Yes" if check else "No")

a,b=map(int,input().split())
if a==2 or b==2:
  print("No")
else:
  print("Yes")

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

if A*B % 2 == 0:
  print('No')
else:
  print('Yes')

A, B = map(int, input().split())
print('Yes') if A * B % 2 != 0 else print('No')

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

if (A*B)%2 == 0:
    print('No')
else:
    print('Yes')

lst = input().split()
A = int(lst[0])
B = int(lst[1])

if A * B % 2 == 1:
    print("Yes")
else:
    print("No")

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

#偶数×偶数＝偶数、偶数×奇数＝偶数、奇数×奇数＝奇数。
#A*Bが偶数なら、A*B*Cが奇数となるような整数Cは無い。A*Bが奇数なら、A*B*Cが奇数となるような整数Cは無い

if A*B %2 == 0:
    print("No")

#if A*B %2 == 1:

else:
    print("Yes")


a,b = map(int,input().split())
cnt = 0
for i in range(1,4):
    if a*b*i%2==1:
        cnt += 1
print("Yes" if cnt>0 else "No")

def main():
    a, b = list(map(int, input().split()))
    for c in range(1, 4):
        if a * b * c % 2 == 1:
            print('Yes')
            return
    print('No')


def __starting_point():
    main()
__starting_point()

n,m = [int(x) for x in input().split()]
if n == 2 or m == 2:
  print("No")
else:
  print("Yes")

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

a,b=map(int,input().split())
if a%2!=0 and b%2!=0:
  print('Yes')
else:
  print('No')

a,b=map(int,input().split())
ans='No'
if a%2!=0 and b%2!=0:
  ans='Yes'
print(ans)

a,b = list(map(int,input().split()))
if a * b in [1,3,9]:
  print("Yes")
else:
  print("No")


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


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

a,b=map(int,input().split())
flag=0
 
for i in range(1,4):
  
  if (a*b*i)%2!=0:
    flag=1
    break
    
  else:
    continue
    

if flag==1:
  print('Yes')
  
else:
  print('No')

A, B = map(int, input().split())
print('No' if A*B%2==0 else 'Yes')

A,B = map(int,input().split())
print(['No','Yes'][A%2==1 and B%2==1])

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

ans="No"
for i in range(1,4):
    if (a*b*i)%2!=0:
        ans="Yes"
        break

print(ans)

n, k = list(map(int, input().split()))
print(("Yes" if n&1 and k&1 else"No"))


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

a,b=map(int,input().split())
print('YNeos'[a*b%2<1::2])

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

if a*b % 2 == 0:
  print('No')
else:
  print('Yes')
  


A, B = map(int, input().split())
print("Yes" if A*B&1 else "No")

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

if (a ** 2) * b % 2 != 0 or a * (b ** 2) % 2 != 0:
    print("Yes")
elif (a ** 2) * b % 2 == 0 or a * (b ** 2) % 2 == 0:
    print("No")

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

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

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

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

a = list(map(int, input().split()))
set_a_b = set(a)
even_count = 0
for i in set_a_b:
    if i % 2 == 0:
        even_count += 1

if even_count == 0:
    print('Yes')
else:
    print('No')


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


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

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

count=0 #初期化
for C in range(1,4):
    if A*B*C %2 ==1:
        count=count+1#Cに順番に１、２、３と代入していく中で、A×B×C が奇数になるたんびにcountに１加算していく
if count>0: #A×B×Cが奇数になるようなCが少なくとも１つ存在していたらYesと表示したい
    print("Yes")
    
else:
    print("No")

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

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


a, b = map(int, input().split())
print("Yes" if  a != 2 and b != 2 else "No")

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

a, b = list(map(int, input().split()))
for c in range(1, 4):
  if a * b * c % 2 == 1:
    print("Yes")
    return
print("No")


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

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

A, B = map(int, input().split())
flg = False
for i in range(1, 4):
    if (A * B * i) % 2 == 1:
        flg = True
        break
if flg:
    print('Yes')
else:
    print('No')

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


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

for c in range(1, 3):
    if a * b * c % 2 == 1:
        print('Yes')
        return
print('No')

num = list(map(int, input().split()))
print('Yes' if num[0] * num[1] % 2 == 1 else 'No')

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

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

A, B = map(int, input().split())
flg = True
for i in range(1, 4):
    if A * B * i % 2 == 1:
        flg = False
        
if flg == False:
    print('Yes')
elif flg == True:
    print('No')

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

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

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

A,B=map(int,input().split())
ans="No"
for i in range(1,4):
    if A*B*i%2==1:
        ans="Yes"
        break
print(ans)

A, B = map(int, input().split())
ans = 'No'

for C in range(1, 4):
    if (A * B * C) % 2 != 0:
        ans = 'Yes'
        break

print(ans)

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

if (any([(i * a * b) % 2 != 0 for i in range(1, 4)])) :
    print("Yes")
else :
    print("No")


a, b = map(int, input().split())
cnt = 0
for c in range(1, 4):
    if (a*b*c) % 2 == 1:
        print("Yes")
        break
    else:
        cnt += 1
        if cnt == 3:
            print("No")
            break

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

for i in range(1, 4):
    if (A * B * i) % 2 == 1:
        print('Yes')
        break
else:
    print('No')

def mapt(fn, *args):
    return tuple(map(fn, *args))


def Input():
    return mapt(int, input().split(" "))


def main():
    a, b = Input()
    if (a * b) % 2 == 0:
        print("No")
    else:
        print("Yes")


main()

a,b = map(int, input().split())
z = 'No'
for i in range(1,4):
    if (a*b*i)%2 == 1:
        z = 'Yes'
print(z)

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


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

print('YNeos'['2'in input()::2])

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

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

A, B = map(int, input().split())
if A % 2 == 0 or B % 2 == 0:
    print('No')
else:
    print('Yes')

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

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

if A % 2 == 1:
  if B % 2 == 1:
    print("Yes")
    return
    
print("No")

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

if (A * B) % 2 == 1:
    print("Yes")
else:
    print("No")

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

if (a * b) % 2 == 0:
    print('No')
else:
    print('Yes')

a, b = map(int, input().split())
if a % 2 != 0 and b % 2 != 0:
    print('Yes')
else:
    print('No')

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

if A*B%2:
  print("Yes")
else:
  print("No")

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

if a*b%2!=0:
	print('Yes')
else:
	print('No')

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

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


n,m = map(int, input().split())
x = n*m

if x % 2==1:
    print("Yes")
else:
    print("No")

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


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