#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:256000000")
using namespace std;
int a[1500];
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
  }
  int k = 0;
  for (int i = 0; i < n; i++) {
    for (int j = i + 1; j < n; j++) {
      if (a[i] > a[j]) k = (k + 1) % 2;
    }
  }
  int m = 0;
  scanf("%d", &m);
  for (int i = 0; i < m; i++) {
    int a, b;
    scanf("%d%d", &a, &b);
    int l = b - a + 1;
    if (l % 2 == 0) {
      if (l / 2 % 2 == 1) k = (k + 1) % 2;
    } else {
      if ((l - 1) / 2 % 2 == 1) k = (k + 1) % 2;
    }
    printf("%s", (k == 0) ? "even\n" : "odd\n");
  }
  return 0;
}
