#include <bits/stdc++.h>
void codeforces_edu35_D() {
  int n;
  scanf("%d", &n);
  int a[n];
  int initial = 0;
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
  }
  for (int i = 0; i < n - 1; i++) {
    for (int j = i + 1; j < n; j++) {
      if (a[i] > a[j]) {
        initial++;
      }
    }
  }
  initial = initial % 2;
  int m;
  scanf("%d", &m);
  int aa, bb;
  for (int i = 0; i < m; i++) {
    scanf("%d %d", &aa, &bb);
    int d = bb - aa;
    if (d % 4 == 1 || d % 4 == 2) {
      initial = 1 - initial;
    }
    if (initial == 1) {
      printf("odd\n");
    } else if (initial == 0) {
      printf("even\n");
    }
  }
}
void codeforces_edu35_E() {}
int main(void) {
  codeforces_edu35_D();
  return 0;
}
