Problem:


Score : 100 points

Problem Statement

You are given integers A and B, each between 1 and 3 (inclusive).

Determine if there is an integer C between 1 and 3 (inclusive) such that A \times B \times C is an odd number.

Constraints

All values in input are integers.

1 \leq A, B \leq 3

Input

Input is given from Standard Input in the following format:

A B

Output

If there is an integer C between 1 and 3 that satisfies the condition, print Yes; otherwise, print No.

Sample Input 1

3 1

Sample Output 1

Yes

Let C = 3. Then, A \times B \times C = 3 \times 1 \times 3 = 9, which is an odd number.

Sample Input 2

1 2

Sample Output 2

No

Sample Input 3

2 2

Sample Output 3

No



Sample input:
3 1


Sample output:
Yes

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
if a % 2 == 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:
from sys import stdin


def fetch_one_line():
    return stdin.readline().rstrip()


def fetch_int_input():
    return [int(s) for s in fetch_one_line().split()]


def fetch_inputs(times):
    return [fetch_one_line() for _ in range(times)]


def fetch_int_inputs(times):
    return [[int(s) for s in fetch_one_line()] for _ in range(times)]


nums = fetch_int_input()
results = ["No", "Yes"]
val = nums[0] * nums[1] % 2
print(results[val])

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


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

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 == 2 or b ==2 else 'Yes')

Submission status: Accepted

Solution code:
# coding: utf-8
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 ==1:
    print('Yes')
else:
    if a*b*3%2==1:
        print('Yes')
    else:
        print('No')

Submission status: Accepted

Solution code:
# ABC109a
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)

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

Submission status: Accepted

Solution code:
import sys

cnt = 1
input_arr = []
for l in sys.stdin:
  input_arr.append(l.split("\n")[0])
  if len(input_arr) == cnt:
      break
A, B = input_arr[0].split()
A = int(A)
B = int(B)
AB = A * B
if AB % 2 == 1:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:

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

data = [A*B*1, A*B*2, A*B*3]
odd = False

for i in range(3):
    if data[i]%2==1:
        odd = True


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

Submission status: Accepted

Solution code:
##### 解けた #####

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

if (A*B)%2==1: # A*B*Cが奇数となりうる場合
    print("Yes")
else: # なり得ない場合
    print("No")

Submission status: Accepted

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

#入力
#S = str(input())
#N, i = map(int, input().split())
#K = int(input())
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())
print("Yes" if A * B % 2 == 1 else "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'
        break
        
print(ans)

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

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(num) for num in input().split())

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

Submission status: Accepted

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

A_B = (A*B) % 2

if A_B == 0:
    print("No")
else:
    print("Yes")

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = 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=[int(x) for x in input().split()]

ans='No'

for C in range(1,4):
    if (A*B*C)%2 != 0:
        ans='Yes'
        break
print(ans)

Submission status: Accepted

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

if a!=2 and b!=2:
  ret="Yes"
else:
  ret="No"

  
print(ret)

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

Z = A * B

if (Z == 1) or (Z == 3) or (Z == 9):
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

YES = "Yes"  # type: str
NO = "No"  # type: str


def solve(A: int, B: int):
    if A*B%2==0:
        print(NO)
    else:
        print(YES)


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  # type: int
    B = int(next(tokens))  # type: int
    solve(A, B)

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*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())
ans = "No"
for i in range(3):
    if ((i+1)*a*b) % 2 != 0:
        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())
print("NYoe s"[a*b%2::2])

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())
D = A * B
if D / 2 ==D // 2:
  print('No')
else:
  print('Yes')

Submission status: Accepted

Solution code:
#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 * 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==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:
#                         author:  kagemeka 
#                         created: 2019-11-10 12:28:14(JST)
### modules
## from standard library
import sys
# import collections
# import math
# import string
# import bisect
# import re
# import itertools
# import statistics
# import functools
# import operator
## from external libraries
# import scipy.special   
# import scipy.misc      
# import numpy as np 

def main():
    a, b = (int(x) for x in sys.stdin.readline().split())
    if (a * b) % 2 != 0:
        ans = 'Yes'
    else:
        ans = 'No'
    
    print(ans)


if __name__ == "__main__":
    # execute only if run as a script
    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:
from sys import stdin
import fractions

a,b = [int(x) for x in stdin.readline().rstrip().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 == 1 and b%2 == 1:
	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, 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:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print("Yes" if all(int(i) % 2 != 0 for i in input().split()) else "No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x, y = [int(i) for i in input().split()]
if (x == 2 or y == 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('Yes' if (A*B)%2==1 else 'No')

Submission status: Accepted

Solution code:
A,B = map(int,input().split())
a = A * B
if (a * 1)%2 != 0:
    print('Yes')
elif (a*3)%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:
import sys
def input():
    return sys.stdin.readline()[:-1]
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:
a, b = map(int, input().split( ))
if (a * b)  % 2 == 0:
    print('No')
else:
    print('Yes')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#2019/10/15
A,B = map(int, open(0).read().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 == 0:
  print("No")
else:
  print("Yes")

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:
A, B = map(int, input().strip().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 == 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())
print('Yes' if a%2 and b%2 else 'No')

Submission status: Accepted

Solution code:
a, b = 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*b%2!=0 else '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:
A, B = tuple(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("No")
else:
  print("Yes")

Submission status: Accepted

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

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

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
ans = []
for i in range(1,4):
    if (a*b*i)%2==1:
        ans.append(1)
    else:
        pass
if len(ans) >0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

for c in range(1, 3):
    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==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())
if A*B % 2 != 0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
'''A - ABC333
https://atcoder.jp/contests/abc109/tasks/abc109_a

>>> main(3, 1)
Yes
>>> main(1, 2)
No
>>> main(2, 2)
No'''


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


if __name__ == '__main__':
    a, b = map(int, input().split(' '))

    main(a, b)

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 !=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:
n, m = map(int,input().split())

if ( n == 3 and m == 1 ) or ( n == 1 and m == 3 ) or ( n == 1 and m == 1 ) or ( n == 3 and m == 3 ):
  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:
print("No" if eval(input().replace(" ","*"))%2==0 else "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 = [int(i) for i in input().split()]

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


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


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, input().split())
flag = False

for i in range(1, 4):
    if A * B * i % 2 == 1:
        flag = True

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

Submission status: Accepted

Solution code:
def slove():
    import sys
    input = sys.stdin.readline
    a, b = list(map(int, input().rstrip('\n').split()))
    for i in range(1, 4):
        if (a * b * i) % 2 != 0:
            print("Yes")
            exit()
    print("No")


if __name__ == '__main__':
    slove()

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:
print("Yes" if "2" not in input() else "No")

Submission status: Accepted

Solution code:
A, B = map(int, input().split())
ans = [
    ["Yes", "No", "Yes"],
    ["No", "No", "No"],
    ["Yes", "No", "Yes"]
]
print(ans[A - 1][B - 1])

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:
print('No' if '2' in input().replace(' ', '') else 'Yes')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import os, sys, re, math

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

Submission status: Accepted

Solution code:
print('Yes' if eval(input().replace(' ', '*')) % 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:
ni = lambda: int(input())
nm = lambda: map(int, input().split())

a, b = nm()

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('YNeos'[(A%2)*(B%2)==0::2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B=map(int,input().split())
C = [1,2,3]

flg = False
for i in C:
  if (A*B*i) % 2 == 1:
    flg = True

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import os, sys, re, math

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

result = 'No'
for i in range(1, 4):
    if (A * B * i) % 2 == 1:
        result = 'Yes'
        break
print (result)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    A, B = map(int, input().split())
    flag = False
    for C in range(3):
        if A*B*C %2 == 1:
            flag = True
    if flag:
        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('Yes' if A * B % 2 == 1 else 'No')

Submission status: Accepted

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

if tmp % 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 = 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())
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())
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")
elif (A*B*3)%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:
print('Yes' if eval(input().replace(' ','*'))%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())

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 == 0 or 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:
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
    

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

if (a*b)%2==1 and a*b<=9:
	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 = [int(x) for x in input().split()]
if A*B%2==1:
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = [int(x) for x 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 * 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:
print("YNeos"["2" in input()::2])

Submission status: Accepted

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

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]=[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())
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())
print('Yes' if any(A * B * c % 2 == 1 for c in range(1, 4)) 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
input = sys.stdin.readline

N,M=map(int,input().split())
for i in range(1,4):
    if N*M*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')
  exit()
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:
print("No" if 2 in list(map(int,input().split())) else "Yes")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if t == 2 or x ==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())

if A % 2 == 0 or 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(3):
  if (a*b*(c+1)) % 2 == 1:
    ans += 1
    break
print('Yes' if ans 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*b)%2 != 0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=input()
print('Yes' if not '2' in n 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 == 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')