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