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:
# abc109_a.py
# https://atcoder.jp/contests/abc109/tasks/abc109_a

# A - ABC333 /
# 実行時間制限: 2 sec / メモリ制限: 1024 MB
# 配点 : 100点

# 問題文
# 1以上 3 以下の整数 A,Bが与えられます。
# A×B×Cが奇数となるような 1 以上 3 以下の整数 Cが存在するか判定してください。

# 制約
#     入力はすべて整数である
#     1≤A,B≤3

# 入力
# 入力は以下の形式で標準入力から与えられる。
# A B

# 出力
# 条件を満たすような Cが存在するなら Yes、そうでないなら No を出力せよ。

# 入力例 1
# 3 1

# 出力例 1
# Yes

# C=3とすると A×B×C=3×1×3=9となり、奇数となります。

# 入力例 2
# 1 2

# 出力例 2
# No

# 入力例 3
# 2 2

# 出力例 3
# No


def calculation(lines):
    # N = int(lines[0])
    A, B = list(map(int, lines[0].split()))
    if A % 2 != 0 and B % 2 != 0:
        return ['Yes']
    else:
        return ['No']


# 引数を取得
def get_input_lines(lines_count):
    lines = list()
    for _ in range(lines_count):
        lines.append(input())
    return lines


# テストデータ
def get_testdata(pattern):
    if pattern == 1:
        lines_input = ['3 1']
        lines_export = ['Yes']
    if pattern == 2:
        lines_input = ['1 2']
        lines_export = ['No']
    if pattern == 3:
        lines_input = ['2 2']
        lines_export = ['No']
    return lines_input, lines_export


# 動作モード判別
def get_mode():
    import sys
    args = sys.argv
    if len(args) == 1:
        mode = 0
    else:
        mode = int(args[1])
    return mode


# 主処理
def main():
    import time
    started = time.time()
    mode = get_mode()
    if mode == 0:
        lines_input = get_input_lines(1)
    else:
        lines_input, lines_export = get_testdata(mode)

    lines_result = calculation(lines_input)

    for line_result in lines_result:
        print(line_result)

    # if mode > 0:
    #     print(f'lines_input=[{lines_input}]')
    #     print(f'lines_export=[{lines_export}]')
    #     print(f'lines_result=[{lines_result}]')
    #     if lines_result == lines_export:
    #         print('OK')
    #     else:
    #         print('NG')
    # finished = time.time()
    # duration = finished - started
    # print(f'duration=[{duration}]')


# 起動処理
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:
AB=input()
print("No" if "2" in AB else "Yes")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 初期入力
import sys
#input = sys.stdin.readline  #文字列では使わない
A,B = map(int, input().split())
ans ="No"
for i in range(1,4):
    if A*B*i %2 ==1:
        ans ="Yes"
        break
print(ans)

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/env python3

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().rstrip().split())
if (A*B)&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 or b == 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")

Submission status: Accepted

Solution code:
def checkodd(num):
	if num%2:
		return True
	else:
		return False

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

if checkodd(A) and checkodd(B):
	print("Yes")
else:
	print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

Submission status: Accepted

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

print('No' if A*B%2 < 1 else '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) or (b == 2):
    print('No')
else:
    print('Yes')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
 a,b = map(int,input().split())
 if (a * b) % 2 == 0:
     print('No')
 else:
     print('Yes')
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())
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())
ans = False

for i in [1,2,3]:
    if (a * b * i) % 2 == 1:
        ans = True

if ans:
    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:
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())
res = A * B
for i in range(1, 4):
    if res * i % 2 == 1:
        print('Yes')
        break
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:
a,b = map(int,input().split())
c = 1
while True:
    if a * b * c % 2 == 1:
        print("Yes") 
        break
    elif c == 3:
        print("No")
        break
    else:
        c += 1

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin

ni = lambda: int(ns())
ns = lambda: stdin.readline().rstrip()
na = lambda: list(map(int, stdin.readline().split()))

# code here
a, b = na()

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
A,B = map(int,input().split())
if not (1 <= A <= 3 and 1 <= B <= 3):
    sys.exit()

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

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

Submission status: Accepted

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

rm = lambda: map(int, sys.stdin.buffer.readline().split())

a, b = rm()
print('No' if a == 2 or b == 2 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())
for c in range(1, 4):
    if a * b * c % 2 == 1:
        print('Yes')
        exit(0)
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:
print('YNeos'['2'in input()::2])

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&1 and b&1 else "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:
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*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 resolve():
    inputs = list(map(int, input().split()))
    print("No" if 2 in inputs else "Yes")


if '__main__' == __name__:
    resolve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def checkodd(num):
	if num%2:
		return True
	else:
		return False

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

if checkodd(A) and checkodd(B):
	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:
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) or (B == 2):
    print("No")

else:
    print("Yes")

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


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

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

    print(ans)


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==b%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")
    exit()
else:
  print("No")

Submission status: Accepted

Solution code:
def solve():
    a, b = map(int, input().split())
    print('YNeos'[a*b % 2 == 0::2])

if __name__ == '__main__':
    solve()

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

print("Yes" if (A * B) & 1 else "No")

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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())
ans = 'No'

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

print(ans)

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:
def main():
    from builtins import int, map, list, print
    import sys
    sys.setrecursionlimit(10 ** 6)

    input = (lambda: (sys.stdin.readline()).rstrip())
    input_list = (lambda: input().split())
    input_number = (lambda: int(input()))
    input_number_list = (lambda: list(map(int, input_list())))

    A, B = input_number_list()
    print("YNeos"[A * B % 2 == 0::2])


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

Submission status: Accepted

Solution code:
import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
mod = 10**9+7

A,B = I()
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())

print('Yes' if A*B%2==1 else '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')
        exit()
print('No')

Submission status: Accepted

Solution code:
def imp():return map(int,input().split())
a,b=imp()
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())
print("Yes" if A%2 and B%2 else "No")

Submission status: Accepted

Solution code:
print('YNeos'['2' in input()::2])

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

Submission status: Accepted

Solution code:
def i():
	return int(input())
def i2():
	return map(int,input().split())
def s():
	return str(input())
def l():
	return list(input())
def intl():
	return list(int(k) for k in input().split())

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

Submission status: Accepted

Solution code:

[A,B] = list(map(int,input().split()))

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

if flag==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())
print('Yes' if a*b%2==1 else '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 C in range(1, 4):
    if (A * B * C) % 2:
        print('Yes')
        break
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())

count=0
for C in range(1,4):
    if A*B*C %2 ==1:
        print("Yes")
        break #この時点で繰り返しを中断、終了する
    else:#A*B*Cが偶数のとき
        
        count = count +1# Noと繰り返しぶん表示させず１回の表示で済ますため、少なくとも１回A*B*Cが偶数なら「No」と１回表示するようにしている
if count>0:
    print("No")

Submission status: Accepted

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

#偶数×偶数＝偶数、偶数×奇数＝偶数、奇数×奇数＝奇数。
#A*Bが偶数なら、A*B*Cが奇数となるような整数Cは無い。A*Bが奇数なら、A*B*Cが奇数となるような整数Cは無い

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

#if A*B %2 == 1:

else:
    print("Yes")

Submission status: Accepted

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

flg =False #flgを初期化
for C in range(1,4):
    if A*B*C %2 ==1:
        flg = True#flgと言う変数にTrueを代入する
        break #この時点で繰り返しを中断、終了する
        
if flg:#(if文にはじつは、後ろに＝＝trueが省略されているので、これだけで、flg=trueならば、、と言う意味になる)
    print("Yes")
else:#（flg=true では無いならば、）
    print("No")

Submission status: Accepted

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

#偶数×偶数＝偶数、偶数×奇数＝偶数、奇数×奇数＝奇数。
#A*Bが偶数なら、A*B*Cが奇数となるような整数Cは無い。A*Bが奇数なら、A*B*Cが奇数となるような整数Cは無い

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

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

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

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

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

Submission status: Accepted

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

for i in range(3):
    i = i + 1
    ans = a * b * i
    if ans % 2 == 0:
        nums.append('No')
    else:
        nums.append('Yes')

if nums.count('Yes'):
    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())
print('Yes' if A * B % 2 != 0 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==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:
import sys
import heapq, math
from itertools import zip_longest, permutations, combinations, combinations_with_replacement
from itertools import accumulate, dropwhile, takewhile, groupby
from functools import lru_cache
from copy import deepcopy

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

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

Submission status: Accepted

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

if a * b % 2 == 0:
    print('No')
elif  a * b % 2 > 0:
    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())
print('YNeos'[a*b%2==0::2])

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
x = a * b
r = x % 2

if r == 1:
  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 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())
print("Yes" if (A * 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==1 & 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 == 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 or b==2:
    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())

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

Submission status: Accepted

Solution code:
# A - ABC333

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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


def main():
    a, b = map(int, input().split())
    if a % 2 == 0 or 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*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())
k = a*b
if k%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 != 0:
        flag = 1
        break
if flag == 0:
    print('No')
else:
    print('Yes')

Submission status: Accepted

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

print(out)

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:
import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for _ in range(N)]
def dp2(ini, i, j): return [[ini]*i for _ in range(j)]
def dp3(ini, i, j, k): return [[[ini]*i for _ in range(j)] for _ in range(k)]
#import bisect #bisect.bisect_left(B, a)
from collections import defaultdict #d = defaultdict(int) d[key] += value
#from itertools import accumulate #list(accumulate(A))

A, B = mi()
if A%2 and B%2:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if 2 in {a, b}:
  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:
# input
A, B = map(int, input().split())

# check
for c in range(1, 4):
    if A * B * c % 2 == 1:
        print("Yes")
        exit(0)
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())
print('Yes' if a*b%2 else '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==0:
  print('No')
else:
  print('Yes')

Submission status: Accepted

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

Submission status: Accepted

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