AtCoder Beginner Contest 086 - Product

AtCoDeer the deer found two positive integers, a and b.
Determine whether the product of a and b is even or odd.

-----Constraints-----
 - 1 ≤ a,b ≤ 10000
 - a and b are integers.

-----Input-----
Input is given from Standard Input in the following format:
a b

-----Output-----
If the product is odd, print Odd; if it is even, print Even.

-----Sample Input-----
3 4

-----Sample Output-----
Even

As 3 × 4 = 12 is even, print Even.

Source: atcoder | Difficulty: EASY


Solutions:
(a, b) = map(int, input().split())
s = a * b
print('Odd' if s % 2 != 0 else 'Even')


(a, b) = map(int, input().split())
print(['Even', 'Odd'][a * b % 2])


(a, b) = map(int, input().split())
print('Odd' if a * b & 1 else 'Even')


print('EOvdedn'[eval(input().replace(' ', '*')) % 2::2])


if eval(input().replace(' ', '*')) % 2 == 0:
	print('Even')
else:
	print('Odd')


(A, B) = map(int, input().split(' '))
print(['Even', 'Odd'][A * B % 2])


n = eval(input().replace(' ', '*'))
print('Odd' if n % 2 else 'Even')


print('Even' if [i for i in input().split() if int(i) % 2 == 0] else 'Odd')


lst = input().split()
if int(lst[0]) * int(lst[1]) % 2 == 0:
	print('Even')
else:
	print('Odd')


s = ['Even', 'Even', 'Odd']
print(s[sum(map(lambda x: int(x) % 2, input().split()))])


def isEven(a, b):
	if a % 2 == 0:
		return True
	if b % 2 == 0:
		return True
	return False
i = input().split()
a = int(i[0])
b = int(i[1])
if isEven(a, b):
	print('Even')
else:
	print('Odd')


(A, B) = (int(X) for X in input().split())
print(['Odd', 'Even'][A * B % 2 == 0])


(a, b) = map(int, input().split())
if a * b % 2 == 0:
	print('Even')
elif a * b % 2 != 0:
	print('Odd')


a = ['Even', 'Odd']
(b, c) = [int(e) for e in input().split()]
print(a[b * c % 2])


numbers = input().split(' ')
if int(numbers[0]) * int(numbers[1]) % 2 == 0:
	print('Even')
else:
	print('Odd')


(x, y) = map(int, input().split())
print('Even' if x * y % 2 == 0 else 'Odd')


(a, b) = (int(x) for x in input().split())
multi = a * b
if multi % 2 == 0:
	print('Even')
else:
	print('Odd')


(a, b) = [int(i) for i in input().split()]
print('EOvdedn'[a * b % 2::2])


(a, b) = list(map(int, input().split()))
c = a * b
if c % 2 == 0:
	print('Even')
else:
	print('Odd')


(A, B) = map(int, input().split())
print('Even' if A * B % 2 == 0 else 'Odd')


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


print(['Even', 'Odd'][eval(input().replace(' ', '*')) % 2])


(a, b) = input().split()
print('EOvdedn'[eval(a + '*' + b) % 2 != 0::2])


import bisect, collections, copy, heapq, itertools, math, string
import sys

def I():
	return int(sys.stdin.readline().rstrip())

def LI():
	return list(map(int, sys.stdin.readline().rstrip().split()))

def S():
	return sys.stdin.readline().rstrip()

def LS():
	return list(sys.stdin.readline().rstrip().split())
(a, b) = LI()
if a * b % 2 == 0:
	print('Even')
else:
	print('Odd')


(C, D) = map(int, input().split())
print('Even' if C * D % 2 == 0 else 'Odd')


(a, b) = [int(x) for x in input().split()]
print('Odd' if a * b % 2 == 1 else 'Even')


(a, b) = [int(n) for n in input().split()]
print('Odd' if a * b % 2 else 'Even')


print('Odd' if all(map(lambda x: int(x) % 2, input().split())) else 'Even')


(aa, bb) = map(int, input().split())
if aa * bb % 2 == 0:
	print('Even')
else:
	print('Odd')


(a, b) = [int(x) for x in input().split()]
print('EOvdedn'[a * b % 2 == 1::2])


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


print(['Even', 'Odd'][max(0, sum(map(lambda x: int(x) % 2, input().split())) - 1)])


(a, b) = map(int, input().split())
ans = 'Odd' if a % 2 + b % 2 == 2 else 'Even'
print(ans)


print('EOvdedn'[sum((s in '04' for s in input())) < 1::2])


s = input()
print('OEdvde n'['0' in s or '4' in s::2])


(a, b) = (int(xx) for xx in input().split())
if a * b % 2 == 0:
	print('Even')
else:
	print('Odd')


(b, c) = input().split(' ')
print('Odd' if int(b) * int(c) % 2 == 1 else 'Even')


getints = lambda : list(map(int, input().split()))
(a, b) = getints()
if a * b % 2:
	print('Odd')
else:
	print('Even')


p = input().split()
print('Even' if int(p[0]) * int(p[1]) % 2 == 0 else 'Odd')


(M, N) = [int(x) for x in input().split()]
print('Odd' if M * N % 2 == 1 else 'Even')


(a, b) = map(int, input().split())
mul = a * b
result = 'Even' if mul % 2 == 0 else 'Odd'
print(result)


def mapt(fn, *args):
	return tuple(map(fn, *args))

def Input():
	return mapt(int, input().split(' '))

def main():
	(a, b) = Input()
	print('Even' if a * b % 2 == 0 else 'Odd')
main()


(a, b) = map(int, input().split())
print(['Even', 'Odd'][a * b & 1])


def solve(a, b):
	if a * b % 2 == 0:
		print('Even')
	else:
		print('Odd')

def __starting_point():
	(a, b) = list(map(int, input().split()))
	solve(a, b)
__starting_point()


num = input().split()
num2 = int(num[0]) * int(num[1])
if num2 % 2 == 0:
	print('Even')
else:
	print('Odd')


(i, f) = map(int, input().split())
print(['Odd', 'Even'][i * f % 2 == 0])


IS = lambda : int(input())
IA = lambda : [int(x) for x in input().split()]
(a, b) = IA()
print('Odd' if a * b % 2 else 'Even')


(n, m) = map(int, input().split())
print('Even' if n * m % 2 == 0 else 'Odd')


i = list(map(int, input().split()))
print('Even' if i[0] * i[1] % 2 == 0 else 'Odd')


a = 'Odd' if eval(input().replace(' ', '*')) % 2 == 1 else 'Even'
print(a)


[a, b] = input().split()
if int(a) % 2 == 0 or int(b) % 2 == 0:
	print('Even')
else:
	print('Odd')


(a, b) = [int(i) for i in input().split()]
print(['Even', 'Odd'][a * b % 2])


(a, b) = map(int, input().split())
print('EOvdedn'[a % 2 and b % 2::2])


import numpy as np
s = list(map(int, input().split()))
p = np.prod(s)
if p % 2 == 0:
	print('Even')
else:
	print('Odd')


(*a,) = map(int, input().split())
print(['Odd', 'Even'][a[0] * a[1] % 2 == 0])


print('Odd' if all([int(e) & 1 for e in input().strip().split()]) else 'Even')


(a, b) = map(int, input().split())
print(a * b % 2 and 'Odd' or 'Even')


s = eval(input().replace(' ', '*')) & 1
print(['Even', 'Odd'][s])


(a, b) = [int(s) for s in input().split()]
print(('Even', 'Odd')[a * b % 2])


(a, b) = map(int, open(0).read().split())
print('Even' if a * b % 2 == 0 else 'Odd')


(A, B) = list(map(int, input().split()))
print('Odd' if A * B % 2 == 1 else 'Even')


print('Even' if any((n % 2 == 0 for n in map(int, input().split()))) else 'Odd')


print('OEdvde n'[any((s in '04' for s in input()))::2])


(a, b) = (int(i) for i in input().split())
print('Odd' if a * b & 1 else 'Even')


(x, y) = list(map(int, input().split()))
print('Odd' if x * y % 2 == 1 else 'Even')


import sys
sys.setrecursionlimit(10 ** 6)
(a, b) = list(map(int, input().split()))
if a * b % 2 == 0:
	print('Even')
else:
	print('Odd')