#include <bits/stdc++.h>
using namespace std;
int n, q;
int ar[300005];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cin >> n;
  for (int i = 0; i < n; i++) cin >> ar[i];
  int cnt = 0;
  for (int i = 0; i < n; i++)
    for (int j = i + 1; j < n; j++)
      if (ar[j] < ar[i]) cnt ^= 1;
  cin >> q;
  for (int i = 0; i < q; i++) {
    int a, b;
    cin >> a >> b;
    --a, --b;
    int len = b - a + 1;
    int numinv = len * (len - 1) / 2;
    if (numinv % 2) {
      cnt ^= 1;
    }
    if (cnt) {
      cout << "odd" << endl;
    } else
      cout << "even" << endl;
  }
  return 0;
}
