#include <bits/stdc++.h>
using namespace std;
vector<int> v;
int a[1000005];
int main() {
  int n;
  cin >> n;
  long long inv = 0;
  for (int i = 1; i <= n; i++) cin >> a[i];
  for (int i = 1; i <= n; i++) {
    for (int j = i + 1; j <= n; j++) {
      if (a[i] > a[j]) inv++;
    }
  }
  int q;
  cin >> q;
  while (q--) {
    int l, r;
    cin >> l >> r;
    long long sz = r - l + 1;
    long long cnt = (sz * (sz - 1)) / 2;
    if (cnt % 2) inv++;
    if (inv % 2)
      cout << "odd" << endl;
    else
      cout << "even" << endl;
  }
  return 0;
}
