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