#include <bits/stdc++.h>
using namespace std;
int arr[2000];
int main() {
  int n, i, j, k, x, y, ans, curr, temp, rose = 0;
  cin >> n;
  for (i = 1; i <= n; i++) {
    cin >> arr[i];
    for (j = i - 1; j > 0; j--) {
      if (arr[j] > arr[i]) {
        rose++;
      }
    }
  }
  rose %= 2;
  int q;
  cin >> q;
  while (q--) {
    cin >> x >> y;
    curr = y - x + 1;
    curr /= 2;
    if (curr % 2 == 1) rose++;
    rose %= 2;
    if (rose & 1)
      cout << "odd" << endl;
    else
      cout << "even" << endl;
  }
  return 0;
}
