#include <bits/stdc++.h>
using namespace std;
const int MX = (1 << 20);
int n, arr[MX], QN;
int main() {
  cin >> n;
  int ans = 0;
  for (int j = 1; j <= n; j++) {
    cin >> arr[j];
    for (int i = 1; i < j; i++)
      if (arr[j] < arr[i]) ans ^= 1;
  }
  cin >> QN;
  while (QN--) {
    int a, b;
    scanf("%d %d", &a, &b);
    int l = b - a + 1;
    if (l % 4 == 0 || (l - 1) % 4 == 0 || a == b)
      ans = ans;
    else
      ans ^= 1;
    if (ans)
      puts("odd");
    else
      puts("even");
  }
}
