import std.stdio, std.array, std.string, std.conv, std.algorithm;
import std.typecons, std.range, std.random, std.math, std.container;
import std.numeric, std.bigint, core.bitop;

void main() {
    auto N = readln.chomp.to!int;
    auto A = readln.split.map!(to!int).array;
    int ans = 0;

    foreach (i; 0..N) {
        foreach (j; i+1..N) {
            if (A[i] > A[j]) {
                ans ^= 1;
            }
        }
    }


    auto Q = readln.chomp.to!int;
    while (Q--) {
        auto lr = readln.split.map!(to!int);
        auto d = lr[1] - lr[0] + 1;
        ans ^= (d * (d - 1) / 2) % 2;
        writeln(ans%2 ? "odd" : "even");
    }

}
