#include <bits/stdc++.h>
bool ans;
int n, a[2000];
int main() {
  scanf("%d", &n);
  for (int i = 0; i < n; i++) scanf("%d", &a[i]);
  for (int i = 0; i < n; i++)
    for (int j = i + 1; j < n; j++) ans ^= (a[i] > a[j]);
  int m;
  scanf("%d", &m);
  while (m--) {
    int l, r;
    scanf("%d%d", &l, &r);
    if ((l - r) * (l - r - 1) % 4 != 0) ans ^= 1;
    if (ans)
      printf("odd\n");
    else
      printf("even\n");
  }
  return 0;
}
