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