#include <bits/stdc++.h>
int a[1511];
int main() {
  int n, m, i, j, s(0);
  scanf("%d", &n);
  for (i = 0; i < n; ++i) scanf("%d", &a[i]);
  for (i = 0; i < n; ++i)
    for (j = i + 1; j < n; ++j)
      if (a[i] > a[j]) s ^= 1;
  scanf("%d", &m);
  while (m--) {
    scanf("%d%d", &i, &j);
    if ((j - i + 1) * (j - i) / 2 & 1) s ^= 1;
    printf("%s\n", s ? "odd" : "even");
  }
  return 0;
}
