def result_is(even_in_groups):
    result = True
    for i in even_in_groups:
        if i == 0:
            result = not result

    return "even" if result else "odd"


def apply(vals, operations):
    new_vals = [1 if vals[0] else 0]
    for i in range(len(operations)):
        if operations[i] == "OR":
            new_vals[-1] += 1 if vals[i + 1] else 0
        else:
            new_vals.append(1 if vals[i + 1] else 0)
    return new_vals


def main():
    NM = input().split(" ")
    formula = input()
    belongs_to = {}
    vals = []
    operations = []
    index = 0
    for elem in formula.split(" "):
        if elem.isdecimal():
            vals.append(int(elem) % 2 == 0)
            belongs_to[len(vals)] = index
        else:
            if elem == "*":
                operations.append("OR")
            else:
                operations.append("XNOR")
                index += 1
    new_vals = apply(vals, operations)
    retval = len([x for x in new_vals if x == 0]) % 2 == 0
    print("even" if retval else "odd")
    for _ in range(int(NM[1])):
        inp = input().split(" ")
        if vals[int(inp[0]) - 1] == (int(inp[1]) % 2 == 0):
            print("even" if retval else "odd")
            continue
        if int(inp[1]) % 2 == 0:
            vals[int(inp[0]) - 1] = True
            new_vals[belongs_to[int(inp[0])]] += 1
            if new_vals[belongs_to[int(inp[0])]] == 1:
                retval = not retval
                print("even" if retval else "odd")
                continue
            else:
                print("even" if retval else "odd")
                continue
        else:
            vals[int(inp[0]) - 1] = False
            new_vals[belongs_to[int(inp[0])]] -= 1
            if new_vals[belongs_to[int(inp[0])]] == 0:
                retval = not retval
                print("even" if retval else "odd")
                continue
            else:
                print("even" if retval else "odd")
                continue







def main1():
    num, changes = map(lambda x: int(x), input().split(" "))
    expres = input().split(" ")
    curent_group = set()
    even_in_group = 0
    group_no = 0
    groups = []
    even_in_groups = []
    num_parity = []
    in_group = {}
    for i in range(1, (num-1)*2, 2):
        in_group[i//2+1] = group_no
        if (int(expres[i - 1]) % 2 == 0):
            even_in_group += 1
            num_parity.append(True)
        else:
            num_parity.append(False)
        if expres[i] == "*":
            curent_group.add(int(expres[i-1]))
        else:
            curent_group.add(int(expres[i - 1]))
            groups.append(curent_group)
            even_in_groups.append(even_in_group)
            group_no += 1
            curent_group = set()
            even_in_group = 0

    if (int(expres[(num-1)*2]) % 2 == 0):
        even_in_group += 1
        num_parity.append(True)
    else:
        num_parity.append(False)
    in_group[num] = group_no
    curent_group.add(int(expres[(num-1)*2]))
    groups.append(curent_group)
    even_in_groups.append(even_in_group)


    print(result_is(even_in_groups))



    for i in range(changes):
        index, change_to = map(lambda x: int(x), input().split(" "))
        new_parity = change_to%2 == 0
        if num_parity[index-1] == new_parity:
            print(result_is(even_in_groups))
            continue
        if num_parity[index-1] and not new_parity:
            num_parity[index-1] = new_parity
            even_in_groups[in_group[index]] -= 1
        else:
            num_parity[index - 1] = new_parity
            even_in_groups[in_group[index]] -= 1
        print(result_is(even_in_groups))


main()



