#include <bits/stdc++.h>
using namespace std;
int n, v[1510], m, x, y, sum;
int main() {
  scanf("%d", &n);
  for (int i = 0; i < n; ++i) {
    scanf("%d", &v[i]);
  }
  for (int i = 0; i < n; ++i) {
    for (int j = i + 1; j < n; ++j) {
      if (v[j] < v[i]) sum++;
    }
  }
  scanf("%d", &m);
  for (int i = 0; i < m; ++i) {
    scanf("%d%d", &x, &y);
    int z = (y - x + 1) / 2;
    sum += z;
    sum %= 2;
    if (sum)
      printf("odd\n");
    else
      printf("even\n");
  }
  return 0;
}
