#include <bits/stdc++.h>
using namespace std;
int arr[1505];
int main() {
  int n, i, j, x = 0, q, l, r;
  scanf("%d", &n);
  for (i = 0; i < n; i++) scanf("%d", &arr[i]);
  for (i = 0; i < n; i++) {
    for (j = i + 1; j < n; j++) {
      if (arr[i] > arr[j]) x++;
      x %= 2;
    }
  }
  scanf("%d", &q);
  while (q--) {
    scanf("%d", &l);
    scanf("%d", &r);
    int d = r - l + 1;
    if ((d * (d - 1) / 2) % 2) x = !x;
    if (x)
      printf("odd\n");
    else
      printf("even\n");
  }
}
