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