#include <bits/stdc++.h>
using namespace std;
vector<int> a;
void swap(long i, long j) {
  int tmp = a[i];
  a[i] = a[j];
  a[j] = tmp;
}
int main(void) {
  long N;
  cin >> N;
  a = vector<int>(N, 0);
  for (int i = 0; i < (N); i++) cin >> a[i];
  long count = 0;
  for (int i = 0; i < (N - 1); i++) {
    for (int j = N - 1; j > i; j--) {
      if (a[j - 1] > a[j]) {
        swap(j, j - 1);
        count++;
      }
    }
  }
  count %= 2;
  long M;
  cin >> M;
  vector<string> ans(M, "abc");
  long l, r;
  for (int i = 0; i < (M); i++) {
    cin >> l >> r;
    count += ((r - l + 1) / 2);
    count %= 2;
    if (count)
      ans[i] = "odd";
    else
      ans[i] = "even";
  }
  for (int i = 0; i < (M); i++) cout << ans[i] << endl;
  return 0;
}
