#include <bits/stdc++.h>
using namespace std;
int m, n, k, l, r, p;
int a[1500];
bool f;
int main() {
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
  }
  for (int i = 0; i < n - 1; ++i) {
    for (int j = i + 1; j < n; ++j) {
      if (a[i] > a[j]) {
        ++k;
      }
    }
  }
  f = (k % 2 == 0);
  cin >> m;
  for (int i = 0; i < m; ++i) {
    cin >> l >> r;
    p = r - l + 1;
    if ((p * (p - 1) / 2) % 2 != 0) {
      f = !f;
    }
    cout << (f ? "even" : "odd") << endl;
  }
}
