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