#include <bits/stdc++.h>
using namespace std;
long long read() {
  long long a = 0, b = getchar(), c = 1;
  while (!isdigit(b)) c = b == '-' ? -1 : 1, b = getchar();
  while (isdigit(b)) a = a * 10 + b - '0', b = getchar();
  return a * c;
}
int n, m, l, r, x, a[1505];
int main() {
  n = read();
  for (int i = 1; i <= n; i++) a[i] = read();
  for (int i = 1; i < n; i++)
    for (int j = i + 1; j <= n; j++) x ^= a[i] > a[j];
  m = read();
  while (m--) {
    l = read(), r = read();
    int i = r - l + 1;
    x ^= (i * (i - 1) >> 1) & 1;
    if (x)
      puts("odd");
    else
      puts("even");
  }
  return 0;
}
