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

Submission status: Accepted

Solution code:
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:
l=list(map(int,input().split()))
if 2 in l  :
    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:
A,B = map(int,input().split())

for i in range(1,4):
    tmp = A*B*i
    if tmp % 2 == 1:
        print('Yes')
        break
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:
line = input()
a, b = [int(n) for n in line.split()]
for n in range(1, 4):
    if (a*b*n)%2!=0:
        print("Yes")
        break
    if n==3:
        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:
C = 0
N = input()
num = N.split()
A = num[0]
B = num[1]
R = int(A) * int(B)
while C != 3:
    result = R * C
    if result % 2 == 0:
        C = C + 1
        if C == 3:
            print("No")
    elif result % 2 == 1:
        C = 3
        print("Yes")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
linha = input()
A,B = [int(n) for n in linha.split()]
achou = 0
for x in range(1,4):
    resultado = A * B * x
    if resultado % 2 == 1:
        print("Yes")
        achou = 1
        break
if achou == 0:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = input()
a = {}
a = [int(i) for i in x.split()]

y = {1, 2, 3}

c = y.difference(a)
a = list(a)

mult = a[0] * a[1]
c = list(c)[0]
flag = False
for i in y:
    if (mult * i) % 2:
        flag = True
if flag:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: 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()
num_a, num_b = [int(n) for n in line.split()]
value = "Yes"
if (num_a * num_b)%2 == 0:
    value = "No"
print(value)

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 % 2 == 0 or B % 2 == 0:
  print("No")
else:
  print("Yes")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def ABC(a , b):

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

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
l = a * b
if l % 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:
b = list(map(int, input().split()))
if b[0]==1 or b[0]==3:
    if b[1]==1 or b[1]==3:
        print('Yes')
    else:
        print('No')
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())
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==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*b%2!=0 else 'No')

Submission status: Accepted

Solution code:
print("Yes" if eval(input().replace(" ", "*"))%2 else "No")

Submission status: Accepted

Solution code:
a, b = [int(i) for i in 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:
import sys
import os

ii = lambda: int(sys.stdin.buffer.readline().rstrip())
il = lambda: list(map(int, sys.stdin.buffer.readline().split()))
fl = lambda: list(map(float, sys.stdin.buffer.readline().split()))
iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)]

iss = lambda: sys.stdin.buffer.readline().decode().rstrip()
sl = lambda: list(map(str, sys.stdin.buffer.readline().decode().split()))
isn = lambda n: [sys.stdin.buffer.readline().decode().rstrip() for _ in range(n)]

MOD = 10 ** 9 + 7


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#ABC-109-A
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,s=map(int,input().split())
if a==2 or s==2:
    print('No')
else:
    print('Yes')

Submission status: Accepted

Solution code:
a,s=map(int,input().split())
if a!=2 and s!=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('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 % 2 == 1 and b % 2 == 1:
  print('Yes')
else:
  print('No')

Submission status: Accepted

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

import sys
import math
from bisect import bisect_right as br
from bisect import bisect_left as bl
sys.setrecursionlimit(2147483647)
from heapq import heappush, heappop,heappushpop
from collections import defaultdict
from itertools import accumulate
from collections import Counter
from collections import deque
from operator import itemgetter
from itertools import permutations
mod = 10**9 + 7
inf = float('inf')
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import itertools
import math
import sys
import heapq
from collections import Counter
from collections import deque
from fractions import gcd
from functools import reduce
INF = 1 << 60
sys.setrecursionlimit(10 ** 6)

#ここから書き始める
a, b = map(int, input().split())
if a % 2 == 1 and b % 2 == 1:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
from collections import deque
from collections import Counter
from itertools import product, permutations,combinations
from operator import itemgetter
from heapq import heappop, heappush
from bisect import bisect_left, bisect_right, bisect
#pypyではscipy, numpyは使えない
#from scipy.sparse.csgraph import shortest_path, floyd_warshall, dijkstra, bellman_ford, johnson, minimum_spanning_tree
#from scipy.sparse import csr_matrix, coo_matrix, lil_matrix
#import numpy as np
from fractions import gcd
from math import ceil,floor, sqrt, cos, sin, pi, factorial
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10**8)
INF = float('inf')
from datetime import datetime as dt

def main():
  a, b = map(int, readline().split())
  if a*b%2==1:
    print('Yes')
  else:
    print('No')
  
  
  
if __name__ == '__main__':
  main()

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 !=0) and (B%2 !=0):
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
# ABC 109: A – ABC333
a, b = [int(s) for s in input().split()]
print('Yes' if (a * b) % 2 == 1 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 = 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==0 or B%2==0):
    print("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    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 ==0) or (B%2 ==0):
    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")

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('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

a, b = map(int, sys.stdin.readline().split())

def main():
    ans = 'Yes' if a * b & 1 else 'No'
    print(ans)

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

Submission status: Accepted

Solution code:
# Problem A -ABC333

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

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

Submission status: Accepted

Solution code:
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

def lcm(x, y):
    return (x * y) // math.gcd(x, y)

if __name__ == '__main__':
    a = [int(i) for i in input().split()]

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
c=1
while True:
    if a*b*c%2!=0:
        print("Yes")
        exit()
    elif c>3:
        break
    elif a*b*c%2==0:
        c+=1 
print("No")

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:
  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())
num = []
for i in range(4):    
    if a * b * i % 2 != 0:
        num.append("Yes")
if "Yes" in num:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#A - ABC333
A, B = map(int, 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())
    answer = "No"
    for c in range(1,4):
        if a*b*c % 2 == 1:
            answer = "Yes"
            break

    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())
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('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:
def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
A = iil()

if 2 in A:
    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:
#template
def inputlist(): return [int(j) for j in input().split()]
from collections import Counter
#template
#issueから始める
A,B = inputlist()
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())
# print(A, B)
if A % 2 == 0 or B % 2 == 0:
    print('No')
else:
    print('Yes')

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import os

ii = lambda: int(sys.stdin.buffer.readline().rstrip())
il = lambda: list(map(int, sys.stdin.buffer.readline().split()))

iss = lambda: sys.stdin.buffer.readline().decode().rstrip()
isn = lambda n: [sys.stdin.buffer.readline().decode().rstrip() for _ in range(n)]


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    N = il()
    print('No' if 2 in N else 'Yes')



if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print('Yes'*(eval(input().replace(' ','*'))%2)or'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())

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

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:
A, B = map(int, input().split())
for C in range(1, 3+1):
  if A * B * C % 2 == 1:
    print("Yes")
    exit()
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())

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:
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 == 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*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!=0 else '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:
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("No") if (a*b)%2 == 0 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 = input().split()
A = int(A)
B = int(B)
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")
elif (a*b*2 % 2 == 1):print("Yes")
elif (a*b*3 % 2 == 1):print("Yes")
else:print("No")

Submission status: Accepted

Solution code:
import sys


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

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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
# | Its_Rashid | #
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:
print('No' if '2' in input().split() else '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 = 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())
if (a*b) %2 ==0:
  print('No')
else:
  print('Yes')

Submission status: Accepted

Solution code:
#abc109 a
a,b=map(int,input().split())
flag=False
for c in range(1,4):
    x=a*b*c
    if x%2==1:
        flag=True
        break
if flag:
 	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%2)*(B%2):
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# A - ABC333
a,b=list(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(i) for i in input().split()]
if A % 2 == 1 and B % 2 == 1:
    print('Yes')
    exit()
else:
    print('No')

Submission status: Accepted

Solution code:
a=list(map(int,input().split()))
x=a[0]
y=a[1]
if x==2 or y==2:
	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:
if 2 in list(map(int,input().split())):
    print('No')
else:
    print('Yes')

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().rstrip()

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

Submission status: Accepted

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

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 = map(int,input().split())
print('No' if a%2==0 or b%2==0 else "Yes")

Submission status: Accepted

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

Submission status: Accepted

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

print("Yes" if any((a * b * i) % 2 == 1 for i in [1, 2, 3]) 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:
import sys
A,B=map(int,input().split())

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

Submission status: Accepted

Solution code:
x,y = map(int,input().split())

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

Submission status: Accepted

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

A,B = [int(i) for i in input().rstrip().split()]

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

Submission status: Accepted

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

Submission status: Accepted

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

if(a%2 == 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 = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

ans=False
for c in range(1,4):
    if a*b*c%2==1:
        ans=True
        break
if ans:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

ab_mod2= (a * b) % 2

if  ab_mod2 == 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")
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 and B%2!=0:
  ans = 'Yes'
else:
  ans = 'No'
  
print(ans)

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')
elif a*b%2 == 1:
    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:
# coding: utf-8
# Your code here!
A,B=map(int,input().split())
def mon(A,B):
    while True:
        for i in range(1,4):
            if A*B*i%2==1:
                return 'Yes'
                break
        return 'No'
        break

print(mon(A,B))