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