#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n;
  cin >> n;
  long long int a[n];
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
  }
  long long int m;
  cin >> m;
  long long int q[m][2];
  for (int i = 0; i < m; ++i) {
    cin >> q[i][0] >> q[i][1];
  }
  long long int inv = 0;
  for (int i = 0; i < n - 1; ++i) {
    for (int j = i + 1; j < n; ++j) {
      if (a[j] < a[i]) inv++;
    }
  }
  string s = "";
  if (inv % 2 == 0)
    s += "even";
  else
    s += "odd";
  for (int i = 0; i < m; ++i) {
    long long int temp1;
    if ((q[i][1] - q[i][0]) == 0)
      temp1 = 0;
    else
      temp1 = ((q[i][1] - q[i][0]) * (q[i][1] - q[i][0] + 1)) / 2;
    if (s == "even") {
      if (temp1 % 2 == 0)
        s += "";
      else
        s = "odd";
    } else {
      if (temp1 % 2 == 0)
        s += "";
      else
        s = "even";
    }
    cout << s << endl;
  }
}
