Problem:


Score : 100 points

Problem Statement

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 1

3 1

Sample Output 1

Yes

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

Sample Input 2

1 2

Sample Output 2

No

Sample Input 3

2 2

Sample Output 3

No



Sample input:
3 1


Sample output:
Yes

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B=map(int,(input('1以上３以下の整数でA,Bの値を入力してください。').split()))
flg=True
#A*B*Cが奇数となるような1以上３以下の整数Cが存在するかどうか。

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

if flg==False:
    print('Yes')
elif flg==True:
    print('No')

Submission status: Wrong Answer

Solution code:
A,B=map(int,(input('1以上３以下の整数でA,Bの値を入力してください。').split()))

#A*B*Cが奇数となるような1以上３以下の整数Cが存在するかどうか。


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

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x, y = map(int, input().split())
b = 0
if y >= 0 and x >= 0:
    b = abs(x - y)
elif y < 0 and x < 0:
    if y > x:
        b = abs(x - y)
    else:
        b = abs(x - y) + 2

else:
    x, y = abs(x), abs(y)
    b = abs(x - y) + 1

print(b)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
flag=0

for i in range(1,4):
  if (a*b*i)%2!=0:
    flag=1
    exit()
    
  else:
    continue
    
if flag==1:
  print('Yes')
  
else:
  print('No')

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())

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

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
print('YES') if a % 2 == 1 and b % 2 == 1 else print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())
if A * B <= 3 and A * B != 2:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if A*B in [2,4,6,9]:
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

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

if A*B in [4,6,9]:
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a*b<=3:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B = map(int,input().split())

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

Submission status: Wrong Answer

Solution code:
A,B = map(int,input().split())

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

Submission status: Wrong Answer

Solution code:
import random
ans = random.randint(0,1)
if ans == 0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if (a*b)%2==0:
    print("NO")
else:
    print("YES")

Submission status: Wrong Answer

Solution code:
a, b = [int(a) for a in input().split()]
print('Yes' if a * b % 2 == 0 else 'No')

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())

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

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a*b==3:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

print("Yes" if (a*b) % 3 == 0 or a*b == 1 else "No")

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(10 ** 5 + 10)
def input(): return sys.stdin.readline().strip()

def resolve():
    def main():
        A,B=map(int,input().split())
        for i in range(1,4):
            if A*B*i%3==0:
                return 'Yes'
        return 'No'
    print(main())

resolve()

Submission status: Wrong Answer

Solution code:
a,b = map(int, input().split())
print("Yes" if (a*b) % 3 == 0 or a*b*3 <= 3 else "No")

Submission status: Wrong Answer

Solution code:
def yn(P):
    if P:
        print("Yes")
    else:
        print("No")

a,b=map(int,input().split())
yn(a%2!=0 or b%2!=0)

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())

for i in range(3):
    if a*b*i%2==1:
        print("Yes")
        break
    else :
        print("No")
        break

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
print("Yes" if a*b==1 or a*b==3 else "No")

Submission status: Wrong Answer

Solution code:
import sys

def main(lines):
  a, b = map(int, lines[0].split())
  if a % 2 != 0 and b % 2 != 0:
    print("No")
    return
  print("Yes")


if __name__ == '__main__':
    lines = []
    for l in sys.stdin:
        lines.append(l.rstrip('\r\n'))
    main(lines)

Submission status: Wrong Answer

Solution code:


def solve():

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

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


if __name__ == "__main__":
    solve()

Submission status: Wrong Answer

Solution code:
a, b = map(int,input().split())

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

Submission status: Wrong Answer

Solution code:
l=list(map(int,input().split()))
if 1 in l and 3 in l :
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
A,B=map(int,input().split())
if abs(A-B)==2:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
line = input()
a, b = [int(n) for n in line.split()]
for n in range(1, 4):
    print(n)
    if (a*b*n)%2!=0:
        print("Yes")
        break
    if n==3:
        print("No")

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())

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

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())

if (B==1):
	print("Yes")
elif(A==1 and B==3):
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())

if (A == 3 and B==1):
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())

if (A == 3 and B==1):
	print("YES")
else:
	print("NO")

Submission status: Wrong Answer

Solution code:
[a, b] = input().split()
odd = False


for c in range(1,4):
    if int(a) * int(b) * c % 2:
        odd = True

if odd:
    print("yes")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
C = 0
N = input()
num = N.split()
A = num[0]
B = num[1]
R = int(A) * int(B)
while C != 3:
    result = R * C
    if result % 2 == 0:
        C = C + 1
        if C == 3:
            print("no")
    elif result % 2 == 1:
        C = 3
        print("yes")

Submission status: Wrong Answer

Solution code:
C = 0
N = input()
num = N.split()
A = num[0]
B = num[1]
R = int(A) * int(B)
while C != 3:
    result = R * C
    if result % 2 == 0:
        C = C + 1
        if C == 3:
            print("no")
    elif result % 2 == 1:
        print("yes")
        C = 3

Submission status: Wrong Answer

Solution code:
C = 1
N = input()
num = N.split()
A = num[0]
B = num[1]
R = int(A) * int(B)
while C != 3:
    result = R * C
    if result % 2 == 0:
        C = C + 1
        if C == 3:
            print("no")
    elif result % 2 == 1:
        print("yes")
        C = 3

Submission status: Wrong Answer

Solution code:
C = 3
N = input()
num = N.split()
A = num[0]
B = num[1]
r = int(A) * int(B) * int(C)
R = int(r)
if R % 2 == 0:
    print("no")
else:
    print("yes")

Submission status: Wrong Answer

Solution code:
C = 3
N = input()
num = N.split()
A = num[0]
B = num[1]
R = int(A) * int(B) * int(C)
if R % 2 == 0:
    print("no")
else:
    print("yes")

Submission status: Wrong Answer

Solution code:
def main():
    line = input()
    a, b= [int(x) for x in line.split()]
    if a == 2 or b == 2:
        print('NO')
    else:
        print('YES')
main()

Submission status: Wrong Answer

Solution code:
line = input()
a, b = [int(n) for n in line.split()]

if(a==2 or b==2):
    print('NO')
else:
    print('YES')

Submission status: Wrong Answer

Solution code:
x = input()
k=x.split(" ")

a = int(k[0])
b = int(k[1])

if (a*b)%2 != 0:
    #c=1
    print("YES")
else: #a*b=par
    print("NO")

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
for i in range(1, 4):
    if (i * a * b) % 2 != 0:
        print("YES")
        quit()
print("NO")

Submission status: Wrong Answer

Solution code:
line = input()
a, b = [int(n) for n in line.split()]

if(a%2==0 or b%2==0):
    print('NO')
else:
    print('YES')

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())

if a == 2 or b == 2:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
def ABC(a , b):

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

def main():
    a , b = map(int , input().split())
    print(ABC(a , b))

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,s=map(int,input().split())
if a!=2 and s!=2:
    print('YES')
    
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
a,s=map(int,input().split())
if a==2 or s==2:
    print('NO')
else:
    print('YES')

Submission status: Wrong Answer

Solution code:
A,B=map(int,input().split())

if (A==1 and B==3) or (A==3 and B==1) or (A==1 and B==1):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
A,B=map(int,input().split())

if (A==1 and B==3) or (A==3 and B==1) or (A==1 and B==1):
  print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
A,B=map(int,input().split())

if (A==1 and B==3) or (A==3 and B==1):
  print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
l = a * b
if l % 2 == 0:
    print("NO")
else:
    print("YES")

Submission status: Wrong Answer

Solution code:
lis = list(map(int, input().split()))

flag = False
for x in lis:
  if x%2==1:
    flag=True
    break

if flag:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())

if (a*b % 2 == 1):print("Yed")
elif (a*b*2 % 2 == 1):print("Yes")
elif (a*b*3 % 2 == 1):print("Yes")
else:print("No")

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())
for C in range(4):
    if A * B % 2 != 0:
        print("Yes")
        exit()
    else:
        print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
A,B=map(int,input().split())
while True:
    for i in range(1,4):
        if A*B*i%2==1:
            print('Yes')
            break
    print('No')
    break

Submission status: Wrong Answer

Solution code:
A,B=map(int,input().split())
if A and B == 3 and 1  :
  print("Yes")
else :
  print("No")

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a%2 and b%2:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x, y = [int(x) for x in input().split()]
if ((x*y*1)/2 != 0) or ((x*y*3)/2 != 0):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())
ans = A * B

if ans == 1 or ans == 3:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
a, b = map(lambda x: int(x), input().split())

if a == 1 and (b == 1 or b ==3 ):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
print("Yes" if 3 in [int(x) for x in input().split()] else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = list(map(int,input().split()))
if(N[0]%2==0 and N[1]%2==0):
	print("No")
else:
	print("Yes")

Submission status: Wrong Answer

Solution code:
import sys
def input():
    return sys.stdin.readline()[:-1]
A,B = map(int,input().split(' '))
if (A*B)%2:
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = map(int,input().split())
if (a * b * 3) % 2 == 0:
  print("No")
  
elif (a * b * 2) % 2 == 0:
  print("No")

elif (a * b * 1) % 2 == 0:
  print("No")

else:
  print("Yes")

Submission status: Wrong Answer

Solution code:
a, b = map(int,input().split())
if (a * b * 3) % 2 == 0:
  print("Yes")
  
elif (a * b * 2) % 2 == 0:
  print("Yes")

elif (a * b * 1) % 2 == 0:
  print("Yes")

else:
  print("No")

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
a, b = map(int, input().split())
if abs(b-a)%2 == 0 and abs(a-b) > 1:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
print("Yes" if "2" in input() else "No")

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if a*b % 2 == 0:
    print('NO')
else:
    print('YES')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if a*b % 2 == 0:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B = (int(i) for i in input().split())

Z = A * B

if (Z == 1) or (Z == 3):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())
D = A * B
if D / 2 ==D // 2:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())
 
if A == 2 or B == 2:
  print('No')
elif A == 3 and B == 3:
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())

if A == 2 or B == 2:
  print('No')
elif A == B:
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split( ))
for c in range(9):
    if (a * b * c) % 2 == 1:
        pass
    else:
        print('No')
        break
    print('Yes')
    pass

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
if '2' in input().split(): print('Yes')
else: print('No')

Submission status: Wrong Answer

Solution code:
n, m = map(int,input().split())

if ( n == 3 and m == 1 ) or ( n == 1 and m == 3 ) or ( n == 1 and m == 1 ):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
n, m = map(int,input().split())

if ( n == 3 and m == 1 ) or ( n == 1 and m == 3 ):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
print("NO" if eval(input().replace(" ","*"))%2==0 else "YES")

Submission status: Wrong Answer

Solution code:
print("NO" if eval(input().replace(" ","+"))%2==0 else "YES")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split());print("Yes" if (a*b*1)%2==0 or (a*b*3)%2==0 else "No")

Submission status: Wrong Answer

Solution code:
A,B = map(int,input().split())
if A%2 != [0] and B%2 != 0:print('Yes')
else: print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
    

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

if (a*b)%2==1 and a*b<9:
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

Solution code:
L=list(map(int,input().split()))
print("Yes" if L in [[1,1],[1,3],[3,1]] else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())

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

Submission status: Wrong Answer

Solution code:
a,b = input().split()
print("No" if '2' in a and "2" in b else "Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())
if (A*B)%2 == 1:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
for c in range(1,4):
  if a*b*c%2!=0:
    print('Yes')
    break
print('No')

Submission status: Wrong Answer

Solution code:
A,B=map(int,input().split())

if A*B>3:
    print('No')
elif A*B==2:
    print('Yes')
elif A*B==1:
    print('Yes')
elif A*B==3:
    print('Yes')

Submission status: Wrong Answer

Solution code:
import math

# inputList=[]
# for i in range(6):
#     inputNum = input()
#     inputList.append(inputNum)
inputa = input().split()
# inputb = input().split()

# inputa = [int(n) for n in inputa]
# inputa.sort()

a = int(inputa[0])
b = int(inputa[1])
# c = int(inputa[2])

# x = int(inputb[0])
# y = int(inputb[1])

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

Submission status: Wrong Answer

Solution code:
import math

# inputList=[]
# for i in range(6):
#     inputNum = input()
#     inputList.append(inputNum)
inputa = input().split()
# inputb = input().split()

# inputa = [int(n) for n in inputa]
# inputa.sort()

a = int(inputa[0])
b = int(inputa[1])
# c = int(inputa[2])

# x = int(inputb[0])
# y = int(inputb[1])

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
print('YES') if (a+b)%2!=1 else print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = map(int, input().split())

if (a==1 and b==1) or (a==3 and b==3):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
a,b=(int(x) for x in input().split())
if (a*b) % 2 == 0:
  print('NO')
else:
  print('YES')

Submission status: Wrong Answer

Solution code:
a,b=(int(x) for x in input().split())
if a*b % 2 == 0:
  print('NO')
else:
  print('YES')

Submission status: Wrong Answer

Solution code:
a,b = map(int, input().split())

if( a % 2 == 0 or b % 2 == 0 ):
  print('NO')
else:
  print('YES')

Submission status: Wrong Answer

Solution code:
A, B = map(int,input().split())
 
if (A*B*1 % 2 == 0) or (A*B*3 % 2 == 0):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
A, B = map(int,input().split())

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

Submission status: Wrong Answer

Solution code:
num = list(map(int, input().split()))

if num[0]%2==0 and num[1]%2==0: print('No')
else: print('Yes')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if (a, b) in [(1,1),(1,3),(3,1)]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = map(int, input().split())

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

Submission status: Wrong Answer

Solution code:
import sys
stdin = sys.stdin
sys.setrecursionlimit(10**9)
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
nn = lambda: list(stdin.readline().split())
ns = lambda: stdin.readline().rstrip()

a,b = na()
d = 1 if a%2==0 or b%2==0 else 0
print(['YES','NO'][d])

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if(a*b % 2 == 0):
    print('NO')
else:
    print('YES')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if (a*b)%2 == 1:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if a%2 == 1 and b%2 == 1:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if a%2 != 0 and b%2 != 0:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
print("NO"if a*b%2==0 else "YES")

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
if a%2==0 or b%2==0:
  print("NO")
else:
  print("YES")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

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

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
for i in range(1,4):
    if a*b*i%2!=0:
        print('YES')
        exit()
print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B = map(int,input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys

YES = "Yes"  # type: str
NO = "No"  # type: str

def solve(A: int, B: int):
    if (A*B) % 2 == 0:
        print("Yes")
    else:
        print("No")
    return


# Generated by 1.1.4 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  # type: int
    B = int(next(tokens))  # type: int
    solve(A, B)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
if (a*b) % 2 == 1:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
a,b = map(int, input().split())
c = 0

for i in range(1,3):
    if (a*b*c%2) == 1:
        c = 1

if c == 1:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())
print("YES" if A * B % 2 else "NO")

Submission status: Wrong Answer

Solution code:
print("YES" if all(int(i) % 2 for i in input().split()) else "NO")

Submission status: Wrong Answer

Solution code:
a, b = [int(i) for i in input().split()]
if(a % 2 == 1)and(b % 2 == 1):
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
a, b = [int(i) for i in input().split()]
if((a * b) % 2 == 1):
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
a, b = [int(i) for i in input().split()]
if((a * b) % 2 == 0):
  print("NO")
else:
  print("YES")

Submission status: Wrong Answer

Solution code:
a, b = [int(i) for i in input().split()]
if(a * b % 2 == 0):
  print("NO")
else:
  print("YES")

Submission status: Wrong Answer

Solution code:
a, b = [int(i) for i in input().split()]
if(a == 2 or b == 2):
  print("NO")
else:
  print("YES")

Submission status: Wrong Answer

Solution code:
a, b = [ int(v) for v in input().split() ]
ans = "Yes"
if (a * b) % 2 == 1:
  ans = "No"
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
a, b = map(int, input().split())

print(list(range(1,4)))

for c in range(1,4) :
    if (a*b*c)%2 == 1 :
        print("Yes")
        sys.exit(0)

print("No")

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())

if A * B <= 3 and A * B % 2 == 1:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import sys


def input():
    return sys.stdin.readline()[:-1]

# N = int(input())
# A = [int(x) for x in input().split()]
# a, b, c = map(int, input().split())
# name1 = str(input())
# alph = {"A": 1, "B": 2, "C": 3, "D": 4, "E": 5}


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