#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int n;
  cin >> n;
  int a[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  int x = 0;
  for (int i = 0; i < n - 1; i++) {
    for (int j = i + 1; j < n; j++) {
      if (a[i] > a[j]) {
        swap(a[i], a[j]);
        x++;
      }
    }
  }
  x = x % 2;
  int m;
  cin >> m;
  for (int i = 0; i < m; i++) {
    int l, r;
    cin >> l >> r;
    if (l != r) {
      if ((x - ((r - l) * (r - l + 1) / 2)) % 2 == 0)
        cout << "even" << '\n';
      else
        cout << "odd" << '\n';
      x = (x - ((r - l) * (r - l + 1) / 2)) % 2;
    } else {
      if (x == 0)
        cout << "even" << '\n';
      else
        cout << "odd" << '\n';
    }
  }
}
