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