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