#include <bits/stdc++.h>
using namespace std;
int n, a[2000], m;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cin >> n;
  for (int i = 1; i <= n; i++) cin >> a[i];
  int ans = 0;
  for (int i = 1; i <= n; i++)
    for (int j = i + 1; j <= n; j++)
      if (a[i] > a[j]) ans ^= 1;
  cin >> m;
  while (m--) {
    int a, b;
    cin >> a >> b;
    if (((b - a) * (b - a + 1) / 2) & 1) ans ^= 1;
    cout << (ans ? "odd" : "even") << endl;
  }
  return 0;
}
