#include <bits/stdc++.h>
const int mxn = 1e5 + 1;
const int MOD = 1e9 + 7;
using namespace std;
int main() {
  int t = 1;
  while (t--) {
    int n;
    cin >> n;
    int A[n];
    for (int i = 0; i < n; ++i) cin >> A[i];
    int count = 0;
    for (int i = 0; i < n; ++i) {
      for (int j = i - 1; j >= 0; --j) {
        if (A[j] > A[i]) count++;
      }
    }
    int p = count & 1;
    int m;
    cin >> m;
    for (int i = 0; i < m; ++i) {
      int a, b;
      cin >> a >> b;
      if (((b - a + 1) / 2) % 2 == 1) {
        p = p ^ 1;
      }
      cout << ((!p) ? "even" : "odd") << endl;
    }
  }
  return 0;
}
