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 = [int(i) for i in input().split()]


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = [int(x) for x in input().split()]
if any(x%2==0 for x in a):
    print("No")
else:
    print("Yes")

Submission status: Accepted

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

ans = "Yes"

if A % 2 == 0 or B % 2 == 0:
    ans = "No"

print(ans)

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:
import math
num=input().split()
a=int(num[0])
b=int(num[1])

if a!=2 and b!=2:
    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('Yes' if (a * b) % 2 == 1 else 'No')

Submission status: Accepted

Solution code:
inputs =  list(map(int, input().split()))
ans = inputs[0] * inputs[1]

for i in range(1,4):
    if(ans * i)%2 == 1:
        print("Yes")
        exit()

print("No")

Submission status: Accepted

Solution code:
from sys import stdin
A, B = [int(x) for x in stdin.readline().rstrip().split()]
ans = 'No'
if A % 2 == 1:
    if B % 2 == 1:
        ans = 'Yes'
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, raw_input().split())
print "Yes" if A*B%2!=0 else "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 = list(map(int, input().split()))
m = A * B

if m % 2 == 1:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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


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

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

print(ans)

Submission status: Accepted

Solution code:
A, B = input().split(' ')
A = int(A)
B = int(B)
if (A == 1 or A == 3) and (B == 1 or B == 3):
    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())
flg = 0
for i in range(3):
    if (a*b*(i+1))%2 != 0:
        flg = 1
if flg == 1:
    print('Yes')
else:
    print('No')

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:
    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(x) for x 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())
X = A * B

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

Submission status: Accepted

Solution code:
A,B=map(int,input().split())
if A*B*1%2==1 or A*B*2%2==1 or A*B*3%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('No')
else:
    print('Yes')

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,b = (int(_) for _ in input().split())

print('Yes') if (a in (1,3) and b in (1,3)) \
    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 = [int(x) for x in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input_list = list(map(int, input().split()))
#input_list = [1, 2]
a = input_list[0]
b = input_list[1]

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
 
tmp = input()
a=[int(x) for x in tmp.split()]

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

Submission status: Accepted

Solution code:
a,b=list(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*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:
# coding: utf-8
# Your code here!
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('No')
else: print('Yes')

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 = 'No'
for c in range(1,4):
    if (a * b * c) % 2 != 0:
        ans = 'Yes'
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

for i in range(1,3):
    if a*b*i % 2 != 0:
        print("Yes")
        sys.exit()
else:
    print("No")

Submission status: Accepted

Solution code:
def main():
    a, b = [int(s) for s in input().split()]
    if is_odd(a) and is_odd(b):
        print('Yes')
    else:
        print('No')

def is_odd(n):
    if n % 2 == 0:
        return False
    else:
        return True

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:
A, B = tuple(int(i) for i in input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

S=A*B
T=S%2

if T==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,raw_input().split())

#print A,B

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('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())
f = 0
for i in range(1, 4):
    if (a * b * i) % 2 > 0:
        f += 1
if f == 0:
    print("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:
import sys,collections,math;sys.setrecursionlimit(10**7)
def Is(): return [int(x) for x in sys.stdin.readline().split()]
def Ss(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def S(): return input()

a,b = Is()
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 == 1:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
a,b=map(int,raw_input().split(' '))
c=[1,2,3]
print "Yes" if any(a*b*i%2!=0 for i in c) else "No"

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# coding: utf-8
#
    
def main(a,b):
    if 0 == a * b % 2:
        print('No')
    else:
        print('Yes')
    
    
if __name__ == '__main__':
    try:
        a,b  = list(map(int,input().strip().split(' ')))
        main(a, b)
    except EOFError:
        pass

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())
# h1 = int(input())
# h2 = int(input())

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

Submission status: Accepted

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

ans="Yes"
if(A%2==0)or(B%2==0): ans="No"

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
ls = raw_input().split()
l=[0,0]
l[0]=int(ls[0])
l[1]=int(ls[1])

if (l[0]%2==0)or(l[1]%2==0):
    print "No"
else:
    print "Yes"

Submission status: Accepted

Solution code:
def main():
    A, B = [int(x) for x in input().split()]
    if (A * B) % 2 == 0:
        print("No")
    else:
        print("Yes")


if __name__ == '__main__':
    main()

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,raw_input().split())
if A==2:
	print('No')
elif B==2:
	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:
x,y=input().split(" ")
x=int(x)
y=int(y)
if(x%2==1 and y%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:
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:
data=map(int,raw_input().split())

if data[0]==2 or data[1]==2:
  print 'No'
else:
  print 'Yes'

Submission status: Accepted

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

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())
flag=False
for C in range(1,4):
  
    if (A*B*C)%2==1:
        flag=True
        break
    

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

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:
#!/usr/bin/env python3
# ABC333

i = input().split(' ')
a = int(i[0])
b = int(i[1])

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

Submission status: Accepted

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

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==1:
	print("Yes")
else:
	print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
inputs = raw_input().replace("\n", "").split(" ")
A, B = map(int, inputs)

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

Submission status: Accepted

Solution code:
a, b = [int(i) for i in 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 % 2 == 1 and 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 = [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(i) for i in 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:
ab = input()
a,b = ab.split()
a = int(a)
b = int(b)
 
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*B % 2 == 0 else 'Yes')

Submission status: Accepted

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

A = int(input[0])
B = int(input[1])
result = 0

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

if result > 0:
    print('Yes')
else:
    print('No')

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())

signal=0

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

if signal==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 = map(int,input().split())
if A*B%2:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

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

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

if res == True:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Sep  8 18:32:58 2018
ABC109A
@author: maezawa
"""
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:
def solve(A, B):
    if A % 2 == 0 or B % 2 == 0:
        return "No"
    return "Yes"

if __name__ == "__main__":
    l = input()
    A, B = int(l.split()[0]),int(l.split()[1])
    print(solve(A, B))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A, B =map(int, input().split())
flag =False
for i in range(1,3):
    if (i*A*B)%2!=0:
        print("Yes")
        flag =True
        break
if flag==False:
    print("No")

Submission status: Accepted

Solution code:
a,b= map(int,input().split())
f = [False]
for c in range(1,4):
    if a*b*c % 2 != 0:
        f[0] = True

if f[0]==True:
    print('Yes')

if f[0]==False:
    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==1)and(b%2==1):
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
# coding: utf-8

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a, b = list(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 != 2 and B != 2:
	print("Yes")
else:
	print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin, stdout

input = lambda: stdin.readline()
# write = stdout.write

def main():
    A, B = map(int, input().split())

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

main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# encoding: utf-8
A, B = map(int, input().split())
if A * B % 2: print("Yes")
else: print("No")

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, raw_input().split())

def calc():
	for C in range(1, 4):
		if A * B * C % 2 != 0:
			return "Yes"
	return "No"
print calc()

Submission status: Accepted

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

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

main()

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 = list(map(int, input().split()))

ans = 'No'
for i in range(3):
    if a * b * i % 2 == 1:
        ans = 'Yes'

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:
if __name__ == '__main__' :
    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*b)%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("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 * b) % 2 == 0:
    print("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:

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

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

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 % 2 == 0) or (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(3):
  if (A*B*(i+1)) % 2 == 1:
    flag = 1
if flag == 1:
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
# AtCoder Beginner Contest 109 20180908
# Question:A

def main(nums):
	
	if nums[0]*nums[1] %2:
		return "Yes"
	else:
		return "No"
	
	
	
	
nums = input().split(" ")
nums = [int(c) for c in nums]

print(main(nums))

Submission status: Accepted

Solution code:
import math
import sys
a,b = [int(i) for i in input().split(' ')]
#mod = 998244353
#sys.setrecursionlimit(100000)


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

ns = lambda: sys.stdin.readline().rstrip()
ni = lambda: int(ns())
na = lambda: [int(x) for x in ns().split()]
nall = lambda: [int(x) for x in sys.stdin.readlines()]

def main():
    a, b = na()
    for c in [1,2,3]:
        if a * b * c % 2 == 1 :
            print('Yes')
            return

    print('No')

main()

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
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 !=0 :
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding: utf-8

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

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

Submission status: Accepted

Solution code:
# coding: utf-8

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

ans = "No"

for C in range(1, 4):
    if A*B*C % 2 == 1:
        ans = "Yes"

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*1) % 2) or ((A*B*2) % 2) or ((A*B*3) % 2):
    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 % 2 == 1 and B % 2 == 1:
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a, b = [int(v) for v 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 % 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 and B != 2:
    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 = 0
for i in range(1,4):
    if (a*b*i)%2 != 0:
        ans = 1
if ans == 0:
    print("No")
else:
    print("Yes")

Submission status: Accepted

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

res = 0
f = False
for i in range(1,4):
    res = a * b * i
    if res % 2 == 1:
        f = True

if f:
    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())
if (a*b)%2 == 0:
    print("No")
else:
    print("Yes")

Submission status: Accepted

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

input = sys.stdin.readline
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()))
flag = False
for i in range(1,3):
    if a * b * i % 2 == 1:
        flag = True
if flag:
    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 = list(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())
for i in range(3):
    if (a*b*(i+1))%2 == 1 :
        print("Yes")
        exit()
print("No")

Submission status: Accepted

Solution code:
a, b = (int(i) for i in input().split(' '))
if (a*b) % 2:
    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==1 and b%2==1:print("Yes")
else:print("No")

Submission status: Accepted

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

solve()

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

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = map(int, input().split())
ans = 'Yes' if ((A*B)&1) == 1 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:
from sys import exit, setrecursionlimit, stderr
from functools import reduce
from itertools import *
from collections import defaultdict
from bisect import bisect

def read():
  return int(input())

def reads():
  return [int(x) for x in input().split()]

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

Submission status: Accepted

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


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

Submission status: Accepted

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

ns = lambda: stdin.readline() # s = ns()
ni = lambda: int(stdin.readline()) # N = ni()
na = lambda: list(map(int, stdin.readline().split())) # Arr = na()

arr = na()
if 2 in arr:
    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 == 1:
    res = 'Yes'
else:
    res = 'No'

print(res)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

import array
from bisect import *
from collections import *
import fractions
import heapq 
from itertools import *
import math
import random
import re
import string
import sys

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

Submission status: Accepted

Solution code:
(A, B) = map(int, input().split())
ans = "No"
for i in range(1, 3):
    if((A*B*i)%2 == 1):
        ans = "Yes"
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 != 0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
if __name__=='__main__':
    IN = list(map(int, input().split(" ")))
    if 2 in IN:
        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:
nk=input().split()
n=int(nk[0])
k=int(nk[1])
if n==2 or k==2:
    print('No')
else:
    print('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')