#include <bits/stdc++.h>
using namespace std;
const long long int M = 2e5 + 5, LG = 19, SM = 4000 + 5, inf = 1e18 + 1;
long long int mod = 924844033;
bool ex[M];
long long int p[M];
long long int n;
bool res = 0;
int main() {
  ios::sync_with_stdio(0);
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> p[i];
    p[i]--;
  }
  for (int i = 0; i < n; i++) {
    for (int j = p[i]; j < n; j++) res ^= ex[j];
    ex[p[i]] = 1;
  }
  long long int q;
  cin >> q;
  while (q--) {
    long long int l, r;
    cin >> l >> r;
    long long int len = r - l + 1;
    res ^= (len % 4 == 2 || len % 4 == 3);
    cout << (res ? "odd" : "even") << '\n';
  }
}
