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