#include <bits/stdc++.h>
using namespace std;
const int maxn = 1500 + 10;
int nu[maxn];
int cnt = 0;
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 1; i <= n; ++i) scanf("%d", &nu[i]);
  for (int i = 1; i <= n; ++i) {
    for (int j = 1; j < i; ++j) {
      if (nu[j] > nu[i]) {
        cnt++;
      }
    }
  }
  cnt %= 2;
  int m;
  scanf("%d", &m);
  int l, r;
  for (int i = 1; i <= m; ++i) {
    scanf("%d%d", &l, &r);
    if ((r - l + 1) * (r - l) / 2 % 2 == 1) cnt ^= 1;
    if (cnt)
      printf("odd\n");
    else
      printf("even\n");
  }
  return 0;
}
