N, M = [int(i) for i in input().split()]
exp = input()
parts = []
for i in exp.replace("-", "").replace("*", "").replace("+", "").split(" "):
    if i != "":
        parts += [i]
#for i in parts:


# print(parts)
#print(parts)
#parts = exp.replace("-", "").replace("*", "").replace("+", "").split(" ")

#print(parts)
print("odd" if eval(exp) % 2 != 0 else "even")
for i in range(M):
    index, value = [j for j in input().split()]
    #print("->", parts[int(index)], value, exp.replace(parts[int(index)-1], value), eval(exp.replace(parts[int(index)], value)) )
    exp = exp.replace(parts[int(index) - 1], value)
    print("odd" if eval(exp) % 2 != 0 else "even")




