#include <bits/stdc++.h>
using namespace std;
const int N = 1509, inf = 0x3f3f3f3f;
int a[N];
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) cin >> a[i];
  int ans = 0;
  for (int i = 0; i < n; i++)
    for (int j = i + 1; j < n; j++)
      if (a[i] > a[j]) ans ^= 1;
  int m;
  cin >> m;
  while (m--) {
    int s, t;
    cin >> s >> t;
    int k = (t - s + 1);
    k = k * (k - 1) / 2;
    ans ^= k & 1;
    if (ans)
      puts("odd");
    else
      puts("even");
  }
}
