#include <bits/stdc++.h>
using namespace std;
bool chg(bool a) {
  if (a == 1)
    a = 0;
  else
    a = 1;
  return a;
}
int main() {
  int n, m, k = 0;
  bool x = 0;
  cin >> n;
  int w[n];
  for (int i = 0; i < n; i++) cin >> w[i];
  for (int i = 0; i < n; i++)
    for (int j = i + 1; j < n; j++)
      if (w[i] > w[j]) k++;
  if (k % 2)
    x = 1;
  else
    x = 0;
  cin >> m;
  int a, b;
  for (int i = 0; i < m; i++) {
    cin >> a >> b;
    if (((b - a + 1) / 2) % 2) x = chg(x);
    if (x == 1)
      cout << "odd" << endl;
    else
      cout << "even" << endl;
  }
}
