#include <bits/stdc++.h>
int n, i, j, a[1505], m, l, r, x;
int main() {
  scanf("%d", &n);
  for (i = 1; i <= n; ++i) scanf("%d", a + i);
  for (i = 1; i < n; ++i)
    for (j = i + 1; j <= n; ++j) x ^= a[i] > a[j];
  scanf("%d", &m);
  while (m--) {
    scanf("%d%d", &l, &r);
    i = r - l + 1;
    x ^= (i * (i - 1) >> 1) & 1;
    puts(x ? "odd" : "even");
  }
  return 0;
}
