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

a1 = a * b
a2 = a * b * 2
a3 = a * b * 3

if (a1 % 2 == 1) or (a2 % 2 == 1) or (a3 % 2 == 1):
    print("Yes")

else:
    print("No")

Submission status: Accepted

Solution code:
a,b = map(int, raw_input().split())
flag = 0
for i in range(1, 4):
    if a*b*i % 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%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:
list = list(map(int, input().split()))
a = list[0]
b = list[1]

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

Submission status: Accepted

Solution code:
a,b = map(int,raw_input().split())
flag  = 0
for c in range(1,4):
	if (a*b*c)%2 == 1:
		flag = 1;

if flag:
	print "Yes"
else:
	print "No"

Submission status: Accepted

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

if a==2 or b==2:
    ans = 'No'
else:
    ans = 'Yes'

print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# coding: utf-8

N = input().split()

A=int(N[0])
B=int(N[1])

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
A,B= list(map(int,input().split()))	
if A==2 or B==2:
    print("No")
else:
    print("Yes")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b=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:
l = input().split(" ")
a = int(l[0])
b = int(l[1])
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 i1():
 return int(input())
def i2():
 return [int(i) for i in input().split()]
[a,b]=i2()
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:
# -*- coding: utf-8 -*-


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())
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)%2 else 'No')

Submission status: Accepted

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

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:
# -*- coding:utf-8 -*-

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

Submission status: Accepted

Solution code:
def run(a, b):
    if a % 2 == 0 or b % 2 == 0:
        return 'No'
    else:
        return 'Yes'


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A, B = 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()]

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

A = int(inputs[0])
B = int(inputs[1])

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

Submission status: Accepted

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

if (A*B)%2 == 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())

ans = False
for C in range(1, 4):
    if (A * B * C) % 2 == 1:
        ans = True
if ans:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A, B = map(int, input().strip().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)%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())
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:
DT = input()

data = DT.split()
data[0] = int(data[0])
data[1] = int(data[1])


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int,raw_input().split())
print "Yes" if a*b%2==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:
#!/usr/bin/env python

from collections import deque
import itertools as it
import sys
import math
import re

sys.setrecursionlimit(1000000)

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Ans = "No"
for c in range(1,4):
    if (A*B*c)%2 == 1:
        Ans = "Yes"

print(Ans)

Submission status: Accepted

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

Submission status: Accepted

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

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

print("Yes" if ans 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:
# coding=utf-8

if __name__ == '__main__':
    a, b = map(int, input().split())
    d = a*b
    if d % 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:
'''input
2 2
'''
from sys import exit
a,b = map(int,raw_input().split())
for i in range(1,4):
	if a*b*i&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:
# -*- coding: utf-8 -*-
def inpl(): return map(int, input().split())
A, B = inpl()

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

ans = 'No'
for c in [1,2,3]:
    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())

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding:utf-8

INF = float('inf')


def inpl(): return list(map(int, input().split()))


a, b = inpl()
if a * 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:
        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, raw_input().split())
if a&1 and b&1:
    print 'Yes'
else:
    print 'No'

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
stdin = sys.stdin

def li(): return [int(x) for x in stdin.readline().split()]
def li_(): return [int(x)-1 for x in stdin.readline().split()]
def lf(): return [float(x) for x in stdin.readline().split()]
def ls(): return stdin.readline().split()
def ns(): return stdin.readline().rstrip()
def lc(): return list(ns())
def ni(): return int(ns())
def nf(): return float(ns())


a,b = li()

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 iin(): return int(input())
def nl(): return list(map(int, input().split()))

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

Submission status: Accepted

Solution code:
import numpy as np
import math

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

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=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())
print(["Yes","No"][a*b%2==0])

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

c = a*b

if c % 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("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:
import sys
import math
import collections
import itertools
import array
import inspect

# Set max recursion limit
sys.setrecursionlimit(1000000)


# Debug output
def chkprint(*args):
    names = {
        id(v): k
        for k, v in inspect.currentframe().f_back.f_locals.items()
    }
    print(', '.join(
        names.get(id(arg), '???') + ' = ' + repr(arg) for arg in args))


# Binary converter
def to_bin(x):
    return bin(x)[2:]


def li_input():
    return [int(_) for _ in input().split()]


def gcd(n, m):
    if n % m == 0:
        return m
    else:
        return gcd(m, n % m)


def gcd_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = gcd(v, L[i])

    return v


def lcm(n, m):
    return (n * m) // gcd(n, m)


def lcm_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = lcm(v, L[i])

    return v


# Width First Search (+ Distance)
def wfs_d(D, N, K):
    """
    D: 隣接行列(距離付き)
    N: ノード数
    K: 始点ノード
    """

    dfk = [-1] * (N + 1)
    dfk[K] = 0

    cps = [(K, 0)]
    r = [False] * (N + 1)
    r[K] = True
    while len(cps) != 0:
        n_cps = []
        for cp, cd in cps:
            for i, dfcp in enumerate(D[cp]):
                if dfcp != -1 and not r[i]:
                    dfk[i] = cd + dfcp
                    n_cps.append((i, cd + dfcp))
                    r[i] = True

        cps = n_cps[:]

    return dfk


# Depth First Search (+Distance)
def dfs_d(v, pre, dist):
    """
    v:  現在のノード
    pre: １つ前のノード
    dist: 現在の距離

    以下は別途用意する
    D: 隣接リスト(行列ではない)
    D_dfs_d: dfs_d関数で用いる，始点ノードから見た距離リスト
    """

    global D
    global D_dfs_d

    D_dfs_d[v] = dist

    for next_v, d in D[v]:
        if next_v != pre:
            dfs_d(next_v, v, dist + d)

    return


def sigma(N):
    ans = 0
    for i in range(1, N + 1):
        ans += i
    return ans


def comb(n, r):
    if n - r < r: r = n - r
    if r == 0: return 1
    if r == 1: return n

    numerator = [n - r + k + 1 for k in range(r)]
    denominator = [k + 1 for k in range(r)]

    for p in range(2, r + 1):
        pivot = denominator[p - 1]
        if pivot > 1:
            offset = (n - r) % p
            for k in range(p - 1, r, p):
                numerator[k - offset] /= pivot
                denominator[k] /= pivot

    result = 1
    for k in range(r):
        if numerator[k] > 1:
            result *= int(numerator[k])

    return result


# --------------------------------------------

dp = None


def main():
    A, B = li_input()

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

main()

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:
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:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**13
mod = 10**9+7
dd = [(-1,0),(0,1),(1,0),(0,-1)]
ddn = [(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)


def main():
    a,b = LI()
    if a*b % 2 == 0:
        return 'No'

    return 'Yes'


print(main())

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin

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

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

Submission status: Accepted

Solution code:
A, B = map(int, raw_input().split())
for i in xrange(1, 4):
    if (A * B * i) % 2 == 1:
        print "Yes"
        exit()
print "No"

Submission status: Accepted

Solution code:
from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,datetime
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inpl(): return list(map(int, input().split()))
def inpls(): return list(input().split())

A,B = inpl()

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: Runtime Error

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

Submission status: Runtime Error

Solution code:
A, B = map(int, input().split())
flg = True
for i in range(1, 4):
    if (A * B * i) % 2 == 1:
        flg = False
        break
if flg == False:
    print('Yes')
elif == True:
    print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from math import gcd
N,X = map(int, input().split())
L = list(map(int, input().split()))
k = 0
for i in L:
  if k == 0:
    k = i - X
  else:
    k = gcd(k, i-X)
print(abs(k))

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
if int(input())*int(input()) in [4,6,9]:
  print('No')
else:
  print('Yes')
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    '

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys

ri = lambda: int(sys.stdin.readline())

print('No' if ri() == 2 or ri() == 2 else 'Yes')

Submission status: Runtime Error

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: Runtime Error

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

print("No")

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input())
w = []
for i in range(n):
    w.append(input())
ok = True
for i in range(n-1):
    sz = len(w[i])
    if w[i][sz-1] != w[i+1][0]: ok = False
for i in range(n):
    for j in range(n):
        if i != j and w[i] == w[j]:
            ok = False
if ok: print('Yes')
else: print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
k = int(input())

if k % 2 == 0:
    num = k * k /4
else:
    base = (k-1) / 2
    num = base * (base + 1)

print(int(num))

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import fractions,itertools
N,S = [int(hoge) for hoge in input().split()]
X = [int(hoge) - S for hoge in input().split()]
print(list(itertools.accumulate(X,func = fractions.gcd))[-1])

Submission status: Runtime Error

Solution code:
#import math
import fractions
def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
def ism():return map(str,input().split())
def isl():return list(map(str,input().split()))

n,x = iim()
xmod = list(map(lambda y:int(y)-x,input().split()))
#print(xmod)
num = xmod[0]
for i in xmod:
    gcd = fractions.gcd(num,i)

print(gcd)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,s=map(int,input().split())
if a!=2 and s!=2!:
    print('YES')
    
else:
    print('NO')

Submission status: Runtime Error

Solution code:
a,s=map(int,input().split())
if a!=2 and s!=2!
    print('YES')
    
else:
    print('NO')

Submission status: Runtime Error

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

print(max(A,B,C)*9+A+B+C)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import random
data=input().rstrip().split()
n=int(data[0])
x=int(data[1])

roc = input().rstrip().split()
roc=[abs(int(i)-x) for i in roc]
ans=0
a=min(roc)
if len(roc)>5:
  roc2=[]
  for i in range(5):
    roc2.append(roc[random.randint(0,len(roc))])
  roc2.append(max(roc))
  roc=roc2
while ans!=len(roc):
  ans=0
  for j in roc:
    if j%a==0:
      ans+=1
    else:
      continue
  a-=1
print(a+1)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
l = a * b
l * i
e = l * i
for i in range(1,3):
  if e % 2 == 0:
    print("NO")
else:
  print("YES")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input())
s = [input()for _ in[0]*n]
f = 0
for i in range(1,n):
    f += s[i-1][-1] != s[i][0]
print("No"if f or len(set(s))<n else"Yes")

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if(a*b%2==0){
  print('NO')
}else{
  print('YES')
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = int(input())
a = [input() for i in range(N)]
ans = 'Yes'
for i in range(N-1): 
    if a[i][-1] != a[i+1][0]: # 最後の文字と次の文頭の文字が一致してなければNo
        ans = 'No'
    if a.count(a[i]) > 1: # その単語が2回以上でてきた場合はNo
        ans = 'No'
if a.count(a[N-1]) > 1:
        ans = 'No'
print(ans)

Submission status: Runtime Error

Solution code:
k = int(input())
if k % 2 == 0:
    print((k//2) * (k//2))
else:
    print((k//2) * (k//2+1))

Submission status: Runtime Error

Solution code:
def main():
    n = int(input())
    result = True
    used = {str(input()): 0}
    for order in range(1,n):
        word = str(input())
        if word in used or list(used.keys())[order - 1][-1] != word[0]:
            result = False
            break
        else:
            used.setdefault(word,0)
    print("Yes" if result else "No")
        
if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
def main():
    n = int(input())
    result = True
    used = {str(input()): 0}
    for order in range(1,n):
        word = str(input())
        if word in used or sorted(used.keys())[order - 1][-1] != word[0]:
            print('NO')
            result = False
            break
        else:
            used.setdefault(word,0)
    if result:
        print('Yes')
        
if __name__ == "__main__":
    main()

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
C = map(str, input().split())
if "2" in c:
    print("No")
else:
    print("Yes")

Submission status: Runtime Error

Solution code:
C = input().replace(" ", "")
if "2" in c:
    print("No")
else:
    print("Yes")

Submission status: Runtime Error

Solution code:
C = map(str, input().replace(" ", ""))
if "2" in c:
    print("No")
else:
    print("Yes")

Submission status: Runtime Error

Solution code:
print("Yes" if (int(input())*int(input())) % 2 != 0 else "No")

Submission status: Runtime Error

Solution code:
print("Yes" if (int(input)*int(input)) % 2 != 0 else "No")

Submission status: Runtime Error

Solution code:
print("Yes" if int(input)*int(input) % 2 != 0 else "No")