#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, temp, inv = 0;
  cin >> n;
  vector<int> p;
  for (int i = 0; i < n; i++) {
    cin >> temp;
    p.push_back(temp);
  }
  for (int i = 0; i < n; i++) {
    for (int j = i + 1; j < n; j++) {
      if (p[i] > p[j]) inv++;
    }
  }
  inv %= 2;
  cin >> m;
  int l, r;
  for (int i = 0; i < m; i++) {
    cin >> l >> r;
    for (int j = 0; j < (r - l + 1) / 2; j++) {
      swap(p[l + j], p[r - j]);
    }
    inv = (inv + (r - l) * (r - l + 1) / 2) % 2;
    if (inv == 0)
      cout << "even\n";
    else
      cout << "odd\n";
  }
  return 0;
}
