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 % 2 == 0:
  print('NO')
else:
  print('YES')

Submission status: Wrong Answer

Solution code:
#! /usr/bin/env python3
# -*- coding: utf-8 -*-

A,B = [int(x) for x in input().split()]
if A % 2 == 0 and B%2 ==0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
0

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 != 0 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 % 2 == 0 or 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 == 0:
    print("NO")
else:
    print("YES")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split())
for c in range(1,4):
  if a*b*c%3 == 0:
    print("Yes")
    quit()
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:
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def is_even(num):
    return num % 2 == 0

A, B = map(int, input().split())
# 1, 2, 3で繰り返す
for C in range(1, 4):
    if is_even(A*B*C):
        print('Yes')
        # exitでプログラムを終わらせる
        exit()
# 'Yes'の場合ここまで到達しない
print('No')

Submission status: Wrong Answer

Solution code:
import functools
import math

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper



a, b = inl()
ok = False
for c in range(1, 4):
    if c* a * b  in [1, 3]:
        ok = True
print('Yes' if ok else '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("NO" if a % 2 == 0 and b % 2 == 0 else "YES")

Submission status: Wrong Answer

Solution code:
a=list(input().split())
b=int(a[0])
c=int(a[1])
d=int(b*c)
if d%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:
def main():
  S = input()
  S = list(map(int, S.split()))
  A = S[0]
  B = S[1]
  C = [1, 2, 3]
  for i in range(len(C)):
    if (A*B*C[i])%2 != 0:
      print('Yes')
      exit()
    else:
      print('NO')
      exit()

main()

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())
if(A*B % 2 == 0):
  print("NO")
else:
  print("YES")

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())
res = "NO"
for i in range(1,4):
    if (A * B * i) % 2 == 1:
        res = "YES"
        break
print(res)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

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 == 1 and 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 == 1:
    ans = "No"
else: ans = "Yes"

print(ans)

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, raw_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!=2:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if num.count(2)==1:
  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) or (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*b / 2 == 0:
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

Solution code:
A = input().split()
if A[0] == 2 or A[1] == 2:
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
list1 = [int(a) for a in input().split()]
list1_0 = list1[0] #A
list1_1 = list1[1] #B

abc_0 = list1_0 * list1_1 * 1
abc_1 = list1_0 * list1_1 * 2
abc_2 = list1_0 * list1_1 * 3

if abc_0 in [3, 9, 15, 21, 27]:
    print("YES")
elif abc_1 in [3, 9, 15, 21, 27]:
    print("YES")
elif abc_2 in [3, 9, 15, 21, 27]:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
list1 = [int(a) for a in input().split()]
list1_0 = list1[0] #A
list1_1 = list1[1] #B

abc_0 = list1_0 * list1_1 * 1
abc_1 = list1_0 * list1_1 * 2
abc_2 = list1_0 * list1_1 * 3

if abc_0 in [1, 2, 3, 5, 7, 9]:
    print("YES")
elif abc_1 in [1, 2, 3, 5, 7, 9]:
    print("YES")
elif abc_2 in [1, 2, 3, 5, 7, 9]:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
list1 = [int(a) for a in input().split()]
list1_0 = list1[0] #A
list1_1 = list1[1] #B

abc_0 = list1_0 * list1_1 * 1
abc_1 = list1_0 * list1_1 * 2
abc_2 = list1_0 * list1_1 * 3

if abc_0 in [1, 3, 5, 7, 9]:
    print("YES")
elif abc_1 in [1, 3, 5, 7, 9]:
    print("YES")
elif abc_2 in [1, 3, 5, 7, 9]:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
list1 = [int(a) for a in input().split()]
list1_0 = list1[0] #A
list1_1 = list1[1] #B

abc_0 = (list1_0 * list1_1 * 1) / 3
abc_1 = (list1_0 * list1_1 * 2) / 3
abc_2 = (list1_0 * list1_1 * 3) / 3

if abc_0 in [1, 3, 5, 7, 9]:
    print("YES")
elif abc_1 in [1, 3, 5, 7, 9]:
    print("YES")
elif abc_2 in [1, 3, 5, 7, 9]:
    print("YES")
else:
    print("NO")

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:
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:
def main() -> None:
    A, B = map(int, input().split())
    print("%s" % "NO" if (A * B) % 2 == 0 else "YES")


if __name__ == '__main__':
    main()

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:
s = input().split()
i = s.count("2")
print("NO") if i>0 else print("YES")

Submission status: Wrong Answer

Solution code:
s = input().split()
i = s.count("2")
print("NO") if i>0 else  print("YES")

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=(int(x) for x in input().split())
ans = False
for C in range(1,4):
    if A*B*C%2!=0:
        ans=True
        break
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X=input().split()
if (int(X[0])*10+int(X[1]))%2 == 0:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
X=input().split()
if (int(X[0])*10+int(X[1]))%2 == 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
def main(t):
    if "2" in t:
        print("Yes")
    else:
        print("No")

t = input()
main(t)

Submission status: Wrong Answer

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

if A % 2 == B % 2 == 1:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

ABC = []
for i in range(1,4):
    ABC.append(A*B*i)

if len([i for i in ABC if i%2 == 1]) != 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("No")
else:
  print("Yes")

Submission status: Wrong Answer

Solution code:
a, b = list(map(int,input().split()))
print("{}".format("YES" if (a*b)%2 == 1 else "NO"))

Submission status: Wrong Answer

Solution code:
li = list(map(int, input().split()))
if 2 in li:
	print('Yes')
else:
	print('No')

Submission status: Wrong Answer

Solution code:
li = list(map(int, input().split()))
if '2' in li:
	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:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
A,B = map(int, input().split())
if (A == 2) or (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("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:
from sys import stdin

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

for c in range (2, 5):
    
    if a * b * c % 2 == 1:
        print ('Yes')
        break

    else:
        print ('No')

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python
# -*- coding: utf-8 -*-


s = raw_input()
a, b = s.split()

c = int(a) * int(b)
print 'YES' if c % 2 == 1 else 'NO'

Submission status: Wrong Answer

Solution code:
i = raw_input()
numlist= i.split(" ")
result = 'No'
a, b = int(numlist[0]), int(numlist[1])
for num in range(a, b):
    if (num * a * b) % 2 != 0:
        result = 'Yes'
print result

Submission status: Wrong Answer

Solution code:
s = raw_input()
a, b = s.split()

c = int(a) * int(b)
print 'YES' if c % 2 == 1 else 'NO'

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#17024471	
#shenweiqiang
#A


s = raw_input()
a, b = s.split()

c = int(a) * int(b)
print 'YES' if c % 2 == 1 else 'NO'

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys


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

    print('No')


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import sys


def main():
    a, b = list(map(int, input().split()))
    for i in range(1, 3):
        if a * b * i % 2 == 1:
            print('True')
            return

    print('No')


if __name__ == "__main__":
    main()

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:
print('u')

Submission status: Wrong Answer

Solution code:
A, B = [int(item) for item in input().split()]
ans = "yes" if (A * B) % 2 == 1 else "no"
print(ans)

Submission status: Wrong Answer

Solution code:
n = input().split()
a, b = int(n[0]), int(n[1])
c, cnt = 0, 0

for i in range(a, b+1, 1):
    c = i
    if (a*b*c) % 2 != 0:
        cnt += 1

if cnt>0 :
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
n = input().split()
a, b = int(n[0]), int(n[1])

if abs(a - b)>1 and (a*b*abs(a-b) % 2 == 0) :
    print("Yes")

else :
    print("No")

Submission status: Wrong Answer

Solution code:
n = input().split()
a, b = int(n[0]), int(n[1])

if abs(a - b)>=1 and (a*b*abs(a-b) % 2 == 0) :
    print("Yes")

else :
    print("No")

Submission status: Wrong Answer

Solution code:
A, B = list(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())

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env pypy3


def get_line():
    return input()


def get_tokens():
    return get_line().split()


def get_ints():
    return [int(_) for _ in get_tokens()]


def main():
    a, b = get_ints()
    ans = a * b % 2 == 1
    print('YES' if ans else 'NO')


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

Solution code:
A=0
B=0
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())
for C in [1, 2, 3]:
    if (A * B * C) % 2 == 1:
        print("YES")
        exit(0)
print("NO")

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
if a*b%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("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

# 関数 solve は，もちろん，問題に応じて書き換える
def solve(a,b):
    if a or b == 2:
        return 'No'
    else:
        return 'Yes'
    
# ここから下は，入力・出力形式が同じであれば，変えなくて良い．
def readQuestion():
    line = sys.stdin.readline().rstrip()
    [str_a, str_b] = line.split(' ')
    return (int(str_a), int(str_b))

def main():
    a, b = readQuestion()
    answer = solve(a, b)
    print(answer)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
#! /usr/bin/python
print("Yes" if sum(map(int,input().split()))%2==1 else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- cording: utf-8 -*-

A,B = map(int, raw_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 ==0 or b%2 ==0: 
    print("NO") 
else: 
    print("YES")

Submission status: Wrong Answer

Solution code:
number = input().rstrip().split(" ")
A = number[0]
B = number[1]
seki = int(A) * int(B)
if seki % 2 == 0:
  print("no")
else:
  print("yes")

Submission status: Wrong Answer

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

ab = a*b

for c in range(1,4):
    if 1 <= a <= 3 and  0 <= b <=3:
       if (ab*c) % 2 ==1:
           print('Good')
           exit()

print('No')

Submission status: Wrong Answer

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

ab = a*b

for c in range(1,4):
    if 1 <= a <= 3 and  0 <= b <=3:
       if (ab*c) % 2 ==1:
           print('Yes')
           exit()

print('no')

Submission status: Wrong Answer

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

ab = a*b

for c in range(1,4):
       if (ab*c) % 2 ==1:
           print('Good')
           exit()

print('no')

Submission status: Wrong Answer

Solution code:
n, k = map(int, input().split())
X = n*k
if X == 2:
	print('No')
else:
	print('Yes')

Submission status: Wrong Answer

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

ab = a*b

for c in range(1,4):
    if 1 <= a <= 3 and  0 <= b <=3:
       if (ab*c) % 2 ==1:
           print('Good')
           exit()

print('no')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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 or A*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())

c = 1

if A*B*c/2 == 0:
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
print ("Yes")

Submission status: Wrong Answer

Solution code:
import sys

# 引数の取得
argv = sys.argv
argc = len(argv)

# 引数の数は３
if (argc != 3):
    print("引数２個が必要")
    sys.exit()

A = int(argv[1])
B = int(argv[2])

if (A < 1 or 3 < A):
    print("Aが不正 (1-3)")
    sys.exit()

if (B < 1 or 3 < B):
    print("Bが不正 (1-3)")
    sys.exit()

AB = A * B
exists = False

# 1から３までループ
for C in range(1, 4):
    if (AB * C % 2 == 1):
        exists = True
        break


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

Submission status: Wrong Answer

Solution code:
import sys

# 引数の取得
argv = sys.argv
argc = len(argv)

# 引数の数は３
if (argc != 3):
    print("引数２個が必要")
    sys.exit()

A = int(argv[1])
B = int(argv[2])

if (A < 1 or 3 < A):
    print("Aが不正 (1-3)")
    sys.exit()

if (B < 1 or 3 < B):
    print("Bが不正 (1-3)")
    sys.exit()

AB = A * B
exists = False

# 1から３までループ
for C in range(1, 4):
    if (AB * C % 2 == 1):
        exists = True
        break


if (exists):
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
A, B = 1, 2
if (A+B)%2==0:
  print ("No")
else:
  print ("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if A!=2 and B!=2:
	print 'true'

else:
	print 'false'

Submission status: Wrong Answer

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

if A==2 or B==2:
	print 'false'

else:
	print 'true'

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

d=a*b

if d%2==0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
import numpy as np

a,b = input().split()

if a != 2:
    if b != 2:
        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:
import sys
input = sys.stdin.readline
import numpy as np

a,b = 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%2==0 | b%2==0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

ans = 'Yes'
for i in range(1, 3 + 1):
  abc = A * B * i
  if abc % 2 != 0:
     ans = 'No'
print(ans)

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:
ans = "NO"
inp = input()
inp = inp.split()
inp = [int(x) for x in inp]
for i in range(1, 4):
    a = inp[0] * inp[1] * i
    if a % 2 != 0:
        ans = "Yes"
        break
print(ans)

Submission status: Wrong Answer

Solution code:
ans = False
inp = input()
inp = inp.split()
inp = [int(x) for x in inp]
for i in range(1, 4):
    a = inp[0] * inp[1] * i
    if a % 2 != 0:
        ans = True
        break
print(ans)

Submission status: Wrong Answer

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

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

if __name__ == "__main__":# {{{
    solve()

Submission status: Wrong Answer

Solution code:
#109
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("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
args = input().split()
if (int(args[0])*int(args[1]))%2 == 0:
	print("No2")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
if __name__ == '__main__':
    AB = [int(n) for n in input().split()]
    if AB[0] * AB[1] % 2 == 0:
        print('No')
    print('Yes')

Submission status: Wrong Answer

Solution code:
A, B = map(int, raw_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 == 1:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input().split(" ")
cnt = 0
for i in range(2):
    if int(a[i])%2 == 0:
        print("Yes")
        cnt +=1
if cnt >0 :
    print("No")
else:
    print("Yes")

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())
print('YES' if any(a * b * c % 2 == 1 for c in range(1, 4)) else 'NO')

Submission status: Wrong Answer

Solution code:
a,b=raw_input().split()
a=int(a)
b=int(b)
if (b-a==1)|(b-a==0)|(b-a==-1):
  print "No"
else:
  print "Yes"

Submission status: Wrong Answer

Solution code:
a,b=raw_input().split()
a=int(a)
b=int(b)
if b-a==1|b-a==0|b-a==-1:
  print "No"
else:
  print "Yes"

Submission status: Wrong Answer

Solution code:
import sys, time, random
sys.setrecursionlimit(10**6)

random.seed(time.time())

n = 1
for i in range(100000):
	n *= i
print("No" if random.randint(1,3) == 2 else "Yes")

Submission status: Wrong Answer

Solution code:
import sys, time, random
sys.setrecursionlimit(10**6)

random.seed(time.time())

n = 1
for i in range(100000):
	n *= i
print("No" if random.randint(1,3) == 2 else "Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
L = [0,1,0,2,0,2,0,0,2,0,2,0]
x, y=map(int, input().split())
if L[x-1]==L[y-1]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())
C = 0
temp = {}

if A <= 3:
    if A >= 1:
        print("No")
        exit()
if B <= 3:
    if B>= 1:
        print("No")
        exit()

while C <= 3:
    if (A * B * C) & 1:
        result = "yes"
    else:
        result = "No"
    C = C + 1

print(result)

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())
C = 0
temp = {}
while C <= 3:
    if (A * B * C) & 1:
        result = "yes"
    else:
        result = "No"
    C = C + 1

print(result)

Submission status: Wrong Answer

Solution code:
# -*- coding: UTF-8 -*-
# q1

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

temp = {}
while C <= 3:
    if (A * B * C) % 2 == 1:
        result = "yes"
    else:
        result = "No"
    C = C + 1

print(result)

Submission status: Wrong Answer

Solution code:
A, B = map(int, input().split())
C = 1
flag = False

while C >= 3 :

    if (A * B * C) % 2 == 1:
        flag = True
        break
    
    C += 1

if flag == True:
    print("Yes")

else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: UTF-8 -*-
# q1

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

temp = {}

while C <= 3:
    temp[C] = (A * B * C) % 2
    C = C + 1

C = 1
while C <= 3:
    if temp[C] >= 1:
        result = "yes"
    else:
        result = "No"
    C = C + 1

print(result)

Submission status: Wrong Answer

Solution code:
# -*- coding: UTF-8 -*-
# q1

C = 1

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

temp = {}

while C <= 3:
    temp[C] = (A * B * C) % 2
    C = C + 1

C = 1
while C <= 3:
    if temp[C] == 1:
        result = "yes"
    else:
        result = "No"
    C = C + 1

print(result)

Submission status: Wrong Answer

Solution code:
if input().count("2")>0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
# -*- coding: UTF-8 -*-
# q1

C = 1

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

temp = {}

while C <= 3:
    temp[C] = (A * B * C)
    C = C + 1

C = 1
while C <= 3:
    if temp[C] & 1:
        answer = "yes"
    else:
        answer = "no"
    C = C + 1

print(answer)

Submission status: Wrong Answer

Solution code:
# -*- coding: UTF-8 -*-
# q1

C = 1

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

temp = {}

while C < 3:
    temp[C] = (A * B * C) % 2
    C = C + 1

C = 1
while C < 3:
    if temp[C] == 0:
        answer = "No"
    else:
        answer = "yes"
    C = C + 1

print(answer)

Submission status: Wrong Answer

Solution code:
# -*- coding: UTF-8 -*-
# q1

C = 1

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

temp = {}

while C <= 3:
    temp[C] = (A * B * C) % 2
    C = C + 1

C = 1
while C <= 3:
    if temp[C] == 0:
        answer = "No"
    else:
        answer = "yes"
    C = C + 1

print(answer)

Submission status: Wrong Answer

Solution code:
l = [int(i) for i in input().split()]
if(l[0] * l[1] / 2 == 0):
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
# -*- coding: UTF-8 -*-
# q1

import sys



A = 0
B = 0
C = 1

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

temp = {}

while C <= 3:
    temp[C] = (A * B * C) % 2
    C = C + 1


C = 1

while C <= 3:
    if temp[C] == 0:
        answer = "No"
    else:
        answer = "yes"

    C = C + 1

print(answer)

Submission status: Wrong Answer

Solution code:
import sys
def LI(): return [int(x) for x in sys.stdin.readline().split()]


a, b = LI()

if a % 2 == b % 2 == 1:
    print('yes')
else:
    print('no')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = [int(i) for i in input().split()]
if n[0] % 2 != 0 or n[1] % 2 != 0:
    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:
A, B = map(int, input().split())

test_date = A*B
tes_ls = []
for i in range(1,3):
    hoge = (test_date*i)%2
    tes_ls.append(hoge)

if 1 in tes_ls:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
l = list(map(int, input().split())) # "1 2 3"と入力
a = l[0]
b = l[1]

print(1 % 2)

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

Submission status: Wrong Answer

Solution code:
l = list(map(int, input().split())) # "1 2 3"と入力
a = l[0]
b = l[1]

c = a % 2
d = b % 2


if ((c == 1) and (d == 1)):
	print("Yes")
else:
	print("no")