#include <bits/stdc++.h>
using namespace std;
int n, m, asw;
int a[10009];
int main() {
  cin >> n;
  for (int i = 1; i <= n; ++i) cin >> a[i];
  for (int i = 1; i < n; ++i)
    for (int j = i + 1; j <= n; ++j)
      if (a[j] < a[i]) asw += 1;
  cin >> m;
  while (m--) {
    int x, y;
    cin >> x >> y;
    int num = y - x + 1;
    asw += (num - 1) * num / 2;
    if (asw % 2 == 0)
      cout << "even" << endl;
    else
      cout << "odd" << endl;
  }
}
