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: Accepted

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

Submission status: Accepted

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

c_list = [1, 2, 3]
for C in c_list:
    if A * B * C % 2 != 0:
        print('Yes')
        exit()

print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A = list(map(int, input().split()))
for a in range(1,4):
    if (A[0]*A[1]*a)%2 == 1:
        print('Yes')
        break
    elif (A[0]*A[1]*a)%2 == 0:
        print('No')
        break

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
print("Yes" if all([int(s) % 2 for s in input().split()]) else "No")

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# abc109_a


def solve(seq):
    if (seq[0] * seq[1]) % 2 == 0:
        return "No"
    else:
        return "Yes"


if __name__ == "__main__":
    nums = list(map(int, input("").split(" ")))
    print(solve(nums))

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys


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

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

for i in range(1, 3):
    detect = A*B*i
    if detect%2 == 1:
        print('Yes')
        exit()

print('No')

Submission status: Accepted

Solution code:
a, b = map(int, raw_input().split())
print ['No', 'Yes'][a * b % 2]

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if(A%2 != 0 and B%2 != 0):
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
a,b  = map(int, input().split())

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

Submission status: Accepted

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

print('No')

Submission status: Accepted

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

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

Submission status: Accepted

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: Accepted

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: Accepted

Solution code:

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

Submission status: Accepted

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

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

print("No")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A, B = [int(x) for x in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

Solution code:
list = input().split()

ab = int(list[0])*int(list[1])

if ab % 2 == 0:
    print("No")
else:
    print("Yes")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solution(a, b):
    if (a & 1) == 1 and (b & 1) == 1:
        return True
    else:
        return False

def main():
    a, b = [int(i) for i in raw_input().strip().split()]
    if solution(a, b):
        print 'Yes'
    else:
        print 'No'

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys

# 関数 solve は，もちろん，問題に応じて書き換える
def solve(a,b):
    if a == 2:
        return 'No'
    elif 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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
line = input().split()

A = int(line[0])
B = int(line[1])
#print(A,B)

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

Submission status: Accepted

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

Submission status: Accepted

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

if A != 2 and B != 2:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

else:
    print("Yes")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
from sys import stdin

a,b = [int(x) for x in stdin.readline().rstrip().split()]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ab = input().split()
A = int(ab[0])
B = int(ab[1])

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

Submission status: Accepted

Solution code:
# coding:utf-8

# A×B×C が奇数となるような 1 以上 3 以下の整数 C が存在するか判定してください。

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

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

Submission status: Accepted

Solution code:
S=input().split(' ')
N=int(S[0])*int(S[1])
if(N%2 == 1):
  print('Yes')
else:
   print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

answer = 'Yes'

if A%2 == 0:
	answer = 'No'
if B%2 == 0:
	answer = 'No'
	
print(answer)

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

ans = "Yes"
if A == 2 or B == 2:
    ans = "No"

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

if any([n % 2 == 0 for n in A]):
    print('No')
else:
    print('Yes')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():

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


    if a!=2 and b!=2:
        print ('Yes')
    else:
        print('No')


if __name__=='__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
try: from typing import Any, Union, List, Tuple, Dict
except ImportError: pass
sys.setrecursionlimit(10**6)
def debug(*args): print(*args, file=sys.stderr)
def exit(): sys.exit(0)


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


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

Submission status: Accepted

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: Accepted

Solution code:
A, B = map(int, input().split())
print(["No", "Yes"][A*B%2])

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

Solution code:

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

AB = A * B

for C in range(1, 4):
    if (AB * C) % 2 == 1:
        print('Yes')
        exit()

print('No')

Submission status: Accepted

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

def is_odd(n):
    return n % 2 != 0

for i in range(1, 4):
    if is_odd(a * b * i):
        print("Yes")
        exit()
print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

A = l[0]
B = l[1]

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

# 関数 solve は，もちろん，問題に応じて書き換える
def solve(A,B) :
    if A%2 == 1 and B%2 == 1:
        return 'Yes'
    else :
        return 'No'
    
# ここから下は，入力・出力形式が同じであれば，変えなくて良い．
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: Accepted

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

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

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

    print("No")

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

C = [1, 2, 3]

result = ""

for i in range(3):
    if A * B * C[i] % 2 == 1:
        result = "Yes"

if not result:
    result = "No"

print(result)

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import collections, os, re


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

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

print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A = []

A = list(map(int, input().split()))
AA = A[0] * A[1]

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

Submission status: Accepted

Solution code:
def solve(string):
    a, b = map(int, string.split(" "))
    if a * b % 2 != 0:
        return "Yes"
    else:
        return "No"


if __name__ == "__main__":
    print(solve(input()))

Submission status: Accepted

Solution code:
a=input()
a=a.split(" ")

a=[int(i) for i in a]

b=a[0]*a[1]

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

Submission status: Accepted

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: Accepted

Solution code:
arg = input().split()

num = int(arg[0]) * int(arg[1])

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
from collections import defaultdict


def main():
    A, B = [int(a) for a in input().split()]
    # MAP = [list(input().strip()) for _ in range(N)]

    if A % 2 != 0 and B % 2 != 0:
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

Solution code:
#coding:utf-8
A, B = map(int, input().split())

if A%2 != 0 and B%2 != 0:
    print("Yes")
else :
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def getinputdata():

    array_result = []    
    array_result.append(input().split(" "))

    flg = True

    try:
        while flg:

            data = input()

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = True

            else:

                flg = False
    finally:

        return array_result

arr_data = getinputdata()

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

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
try: from typing import Any, Union, List, Tuple, Dict
except ImportError: pass
sys.setrecursionlimit(10**6)
def debug(*args): print(*args, file=sys.stderr)
def exit(): sys.exit(0)


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


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

Submission status: Accepted

Solution code:
input = input().split()

cntYes = 0
for C in range(1,4):
    ans = int(input[0])*int(input[1])*C
    if ans%2!=0:
       cntYes += 1
if cntYes>0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

A, B = map(int, input().split())
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: Accepted

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

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

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

Submission status: Accepted

Solution code:
import sys
a, b = map(int, input().split())
for c in range(1,4):
    if (a*b*c) % 2 == 1:
        print ("Yes")
        sys.exit()
print ("No")

Submission status: Accepted

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

s = [int(i) for i in input().split()]


if s[0]*s[1]%2 == 0:
    print("No")

else:
    print("Yes")

Submission status: Accepted

Solution code:
#coding:utf-8
n=[int(i) for i in input().split()]
if(n[0]*n[1]%2==0):
  print("No")
else:
  print("Yes")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# ANSHUL GAUTAM
# IIIT-D

from math import *
from string import *
from itertools import *

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

Submission status: Accepted

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

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

else:
	print 'No'

Submission status: Accepted

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

Submission status: Accepted

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

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

if a != 2:
    if b != 2:
        print("Yes")
        exit()

print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin,stdout

if __name__ == "__main__":
  A,B = list(map(int, stdin.readline().replace("\n","").split()))
  if A*B%2==0:
    stdout.writelines("No")
  else:
    stdout.writelines("Yes")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

flg = 'No'

for i in range(1, 3+1):
  if (A * B * i) % 2 == 1:
    flg = 'Yes'
    
print(flg)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# Read the values of A and B from the screen, save them as integers
a, b = [int(i) for i in input().split()]

# Note that all we have to do is check if both A and B are odd.
if a*b % 2 == 1:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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: Accepted

Solution code:
# -*- coding: utf-8 -*-
import math,string,itertools,fractions,heapq,collections,re,array,bisect

def s():
    return input()
def n():
    return int(input())
def d():
    return float(input())

def ls():
    return input().split()
def ln():
    return map(int, input().split())
def ld():
    return map(float, input().split())

def fs():
    return [input() for i in range(input())]
def fn():
    return [int(input()) for i in range(input())]
def fd():
    return [float(input()) for i in range(input())]

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