#include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9 + 7;
void solve() {
  int n;
  cin >> n;
  int arr[n];
  for (int i = 0; i <= n - 1; i++) cin >> arr[i];
  int x = 0;
  for (int i = 0; i <= n - 1; i++) {
    for (int j = i + 1; j <= n - 1; j++) {
      x ^= (arr[i] > arr[j]);
    }
  }
  int m;
  cin >> m;
  while (m--) {
    int l, r;
    cin >> l >> r;
    int temp = r - l + 1;
    temp = temp * (temp - 1) / 2;
    x ^= (temp % 2);
    if (x)
      cout << "odd\n";
    else
      cout << "even\n";
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  solve();
}
