You are given an integer $n$ ($n \ge 0$) represented with $k$ digits in base (radix) $b$. So,

$$n = a_1 \cdot b^{k-1} + a_2 \cdot b^{k-2} + \ldots a_{k-1} \cdot b + a_k.$$

For example, if $b=17, k=3$ and $a=[11, 15, 7]$ then $n=11\cdot17^2+15\cdot17+7=3179+255+7=3441$.

Determine whether $n$ is even or odd.


-----Input-----

The first line contains two integers $b$ and $k$ ($2\le b\le 100$, $1\le k\le 10^5$) — the base of the number and the number of digits.

The second line contains $k$ integers $a_1, a_2, \ldots, a_k$ ($0\le a_i < b$) — the digits of $n$.

The representation of $n$ contains no unnecessary leading zero. That is, $a_1$ can be equal to $0$ only if $k = 1$.


-----Output-----

Print "even" if $n$ is even, otherwise print "odd".

You can print each letter in any case (upper or lower).


-----Examples-----
Input
13 3
3 2 7

Output
even

Input
10 9
1 2 3 4 5 6 7 8 9

Output
odd

Input
99 5
32 92 85 74 4

Output
odd

Input
2 2
1 0

Output
even



-----Note-----

In the first example, $n = 3 \cdot 13^2 + 2 \cdot 13 + 7 = 540$, which is even.

In the second example, $n = 123456789$ is odd.

In the third example, $n = 32 \cdot 99^4 + 92 \cdot 99^3 + 85 \cdot 99^2 + 74 \cdot 99 + 4 = 3164015155$ is odd.

In the fourth example $n = 2$.

Difficulty: interview

Starter code:

Solutions:
b,k = map(int, input().split())
a = list(map(int, input().split()))
r = 0
for x in a:
	r = (r*b+x) % 2
if r == 0:
	print('even')
else:
	print('odd')

def get():
    return list(map(int,input().split()))
b,k=get()
a=get()
if b%2==0:
    if a[-1]%2:
        print('odd')
    else:
        print('even')
else:
    if sum(a)%2==0:
        print('even')
    else:
        print('odd')


ii = lambda: int(input())
mi = lambda: list(map(int, input().split()))
li = lambda: list(mi())

b, k = mi()
a = li()
b = b % 2
c = 1
ans = 0
for x in a[::-1]:
    ans = (ans + c * x) % 2
    c *= b
print('odd' if ans else 'even')



b,k=map(int,input().split())
a=list(map(int,input().split()))
if b%2==0:
    if a[-1]%2==0:
        print("even")
    else:
        print("odd")
else:
    tot=0
    for guy in a:
        if guy%2==1:
            tot+=1
    if tot%2==0:
        print("even")
    else:
        print("odd")

b, k = list(map(int, input().split()))
a = [int(x) for x in input().split()]
if b % 2 == 0:
	if a[k - 1] % 2 == 0:
		print("even")
	else:
		print("odd")
else:
	r = sum(a)
	if r % 2 == 0:
		print("even")
	else:
		print("odd")


3

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

cur = 0
for c in a:
    cur = (cur * b + c) % 2

if cur == 0:
    print("even")
else:
    print("odd")


#JMD
#Nagendra Jha-4096

 
import sys
import math

#import fractions
#import numpy
 
###File Operations###
fileoperation=0
if(fileoperation):
    orig_stdout = sys.stdout
    orig_stdin = sys.stdin
    inputfile = open('W:/Competitive Programming/input.txt', 'r')
    outputfile = open('W:/Competitive Programming/output.txt', 'w')
    sys.stdin = inputfile
    sys.stdout = outputfile

###Defines...###
mod=1000000007
 
###FUF's...###
def nospace(l):
    ans=''.join(str(i) for i in l)
    return ans
 
 
 
##### Main ####
t=1
for tt in range(t):
    #n=int(input())
    b,k= map(int, sys.stdin.readline().split(' '))
    ans=0
    a=list(map(int,sys.stdin.readline().split(' ')))
    a=a[::-1]
    for i in range(k):
        v=pow(b,i,2)
        ans+=v*a[i]
        ans%=2
    if(ans):
        print("odd")
    else:
        print("even")
    
    
#####File Operations#####
if(fileoperation):
    sys.stdout = orig_stdout
    sys.stdin = orig_stdin
    inputfile.close()
    outputfile.close()

b, k = list(map(int, input().split()))
X = [int(a) for a in input().split()]

if b % 2 == 1:
    r = sum(X) % 2
else:
    r = X[-1] % 2
    
if r == 0:
    print("even")
else:
    print("odd")



import sys
from math import *

def minp():
	return sys.stdin.readline().strip()

def mint():
	return int(minp())

def mints():
	return list(map(int, minp().split()))

b, k = mints()
z = 0
for i in mints():
	z = z*b + i
	z = (z & 1)
if z == 0:
	print("even")
else:
	print("odd")


(lambda b,k,n,N:[[N.__setitem__(0,N[0]*b+i&1)for i in n],print('odd'if N[0]else'even')])(*map(int,input().split()),list(map(int,input().split())),[0])

b, k = map(int, input().split())
l = [*map(int, input().split())]
l.reverse()
res = 0
for i, e in enumerate(l):
    res = (res + e * pow(b, i, 2)) % 2
if res == 0:
    print("even")
else:
    print("odd")

from sys import setrecursionlimit, stderr
from functools import reduce
from itertools import *
from collections import defaultdict, Counter
from bisect import bisect

setrecursionlimit(10**7)

def read():
  return int(input())

def reads():
  return [int(x) for x in input().split()]

b, k = reads()
a = reads()

def answer(n):
  print("even" if n % 2 == 0 else "odd")
  return

if b % 2 == 0:
  answer(a[-1])
else:
  answer(sum(a))

b,k = list(map(int,input().split()))
a = list(map(int,input().split()))
ans = 0
for i in range(k-1):
    ans += (b%2)*(a[i]%2)
ans += a[k-1]
if ans%2 == 0:
    print("even")
else:
    print("odd")        



def main():
    b, k = [int(a) for a in input().split()]
    ais = [int(a) for a in input().split()]
    if b % 2 == 0:
        if ais[-1] % 2 == 1:
            print("odd")
        else:
            print("even")
    else:
        if sum(ais) % 2 == 1:
            print("odd")
        else:
            print("even")

main()


b, k = list(map(int, input().split()))
a = list(map(int, input().split()))
ans = 0;
for i in range(k):
  if i == k - 1:
    ans ^= a[i] % 2;
  else:
    ans ^= (a[i] % 2) * (b % 2)
print('even' if ans == 0 else 'odd')


b, k = list(map(int, input().split()))
lst = list(map(int, input().split()))
if b % 2 == 0:
    if lst[-1] % 2 == 0:
        print("even")
    else:
        print("odd")
else:
    cnt = 0
    for i in range(k):
        if lst[i] % 2 == 1:
            cnt += 1
    if cnt % 2 == 0:
        print("even")
    else:
        print("odd")


b, k = list(map(int, input().split()))
r=0
for i in map(int, input().split()):
    r=(b*r+i)%2
print("odd" if r else "even")


b, k = map(int, input().split())
A = list(map(int, input().split()))
if b % 2 == 1:
    cnt = 0
    for i in A:
        if i % 2 == 1:
            cnt += 1
    if cnt % 2:
        print('odd')
    else:
        print('even')
else:
    if A[-1] % 2:
        print('odd')
    else:
        print('even')

b,k=map(int,input().split())
A=[int(i) for i in input().split()]
t=0
for i in range(k):
    t+=A[i]*pow(b,k-1-i,2)
    t%=2
if t==0:
    print('even')
else:
    print('odd')

b, _ = [int(x) for x in input().split()]
a = [int(x) for x in input().split()]
if b % 2 == 0:
    a = a[-1:]
print('even' if sum(a) % 2 == 0 else 'odd')


b, k = map(int, input().split())
a = list(map(int, input().split()))
ans = 0
for i in range(len(a)):
    ans += pow(b, k - i - 1, 2) * a[i] % 2
print("odd" if ans % 2 else "even")

import sys
import math
input = sys.stdin.readline

b,k=map(int,input().split())
l=list(map(int,input().split()))

if b%2==1:
	count=0
	for i in range(k):
		if l[i]%2==1:
			count+=1

	if count%2==0:
		print("even")
	else:
		print("odd")

else:
	if l[-1]%2==0:
		print("even")
	else:
		print("odd")

B,K = list(map(int,input().split()))
A = list(map(int,input().split()))
if B%2==0:
    print('odd' if A[-1]%2 else 'even')
else:
    print('odd' if sum(A)%2 else 'even')


b, k = [int(x) for x in input().split()]
a = [int(x) for x in input().split()]
ans = 0
for x in a:
    ans = ans*b + x
    ans %= 2
if ans==0:
    print('even')
else:
    print('odd')


b,k = [int(x) for x in input().split()]

L = [int(x) for x in input().split()]

t = 0
for i in range(0,len(L)-1):
    t += L[i]

t *= b%2
t += L[-1]
if t%2 == 0:
    print('even')
else:
    print('odd')