#include <bits/stdc++.h>
using namespace std;
const int N = 100 + 5;
bool cmax(int &a, int b) { return (a < b) ? a = b, 1 : 0; }
bool cmin(int &a, int b) { return (a > b) ? a = b, 1 : 0; }
template <typename T>
T read() {
  T ans = 0, f = 1;
  char ch = getchar();
  while (!isdigit(ch) && ch != '-') ch = getchar();
  if (ch == '-') f = -1, ch = getchar();
  while (isdigit(ch))
    ans = (ans << 3) + (ans << 1) + (ch - '0'), ch = getchar();
  return ans * f;
}
void file() {}
int n, m;
int a[1500 + 5];
void input() {
  n = read<int>();
  for (register int i = (int)1; i <= (int)n; ++i) a[i] = read<int>();
}
int ans;
void work() {
  for (register int i = (int)1; i <= (int)n; ++i)
    for (register int j = (int)i + 1; j <= (int)n; ++j)
      if (a[i] > a[j]) ans ^= 1;
  int l, r, len;
  m = read<int>();
  for (register int i = (int)1; i <= (int)m; ++i) {
    l = read<int>();
    r = read<int>();
    len = r - l + 1;
    if ((len * (len - 1) / 2) & 1) ans ^= 1;
    printf("%s\n", ans & 1 ? "odd" : "even");
  }
}
int main() {
  file();
  input();
  work();
  return 0;
}
