inputs = []

(n, m) = [int(i) for i in input().split()]

expression = input()
zmeny = []
for i in range(m):
    zmeny.append([int(i) for i in input().split()])

splitted = [i for i in expression.split()]

for i in range(len(splitted)):
    if splitted[i] not in ['+', '-', '*']:
        splitted[i] = int(splitted[i]) % 2 == 0

res = None
posledne_cisla = []
for i in splitted:
    if i in ['+', '-']:
        vysledok_nasobenia = posledne_cisla[0]
        for j in posledne_cisla[1:]:
            if not vysledok_nasobenia and not j:
                vysledok_nasobenia = False
            else:
                vysledok_nasobenia = True
        if res is None:
            res = vysledok_nasobenia
        else:
            res = res == vysledok_nasobenia
        posledne_cisla = []
        continue

    if i == '*':
        if not i:
            res = not res
        continue

    posledne_cisla.append(i)

if len(posledne_cisla) > 0:
    vysledok_nasobenia = posledne_cisla[0]
    for j in posledne_cisla[1:]:
        if not vysledok_nasobenia and not j:
            vysledok_nasobenia = False
        else:
            vysledok_nasobenia = True

    if res is None:
        res = vysledok_nasobenia
    else:
        res = res == vysledok_nasobenia


print('even' if res else 'odd')
length = len(splitted)
for i in zmeny:
    index = (i[0] - 1) * 2
    old = splitted[index]
    new = i[1] % 2 == 0
    splitted[index] = new

    if old == new:
        print('even' if res else 'odd')
        continue

    odds = 0
    is_even = False
    is_nasobenie = False
    for j in range(index + 1, length):
        if splitted[j] in ['+', '-']:
            break
        if splitted[j] == '*':
            is_nasobenie = True
            continue
        if splitted[j]:
            is_even = True
            break
        else:
            odds += 1

    for j in range(index - 1, 0, -1):
        if is_even or splitted[j] in ['+', '-']:
            break
        if splitted[j] == '*':
            is_nasobenie = True
            continue
        if splitted[j]:
            is_even = True
            break
        else:
            odds += 1

    if is_nasobenie:
        if not is_even:
            res = not res
    else:
        res = not res

    print('even' if res else 'odd')
pass
# 6 4
# 11 + 22 * 33 - 44 * 55 * 66
# 1 2
# 2 3
# 4 5
# 3 5

# 6 3
# 1 * 2 * 3 * 4 * 5
# 1 2
# 1 1
# 1 2

# 4 3
# 3 * 3 * 3 * 3
# 2 2
# 2 1
# 2 2
