#include <bits/stdc++.h>
using namespace std;
const int N = 1510;
int n, arr[N], m;
int main() {
  scanf("%d", &n);
  int ans = 0;
  for (int i = 0; i < n; i++) {
    scanf("%d", &arr[i]);
    for (int j = 0; j < i; j++) {
      if (arr[i] < arr[j]) ans ^= 1;
    }
  }
  scanf("%d", &m);
  while (m--) {
    int l, r;
    scanf("%d%d", &l, &r);
    int cur = (r - l) * (r - l + 1) / 2;
    ans ^= (cur & 1);
    if (!ans)
      puts("even");
    else
      puts("odd");
  }
  return 0;
}
