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