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