#include <bits/stdc++.h>
using namespace std;
const long long MAXN = 1500 + 10;
long long n, a[MAXN];
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cin >> n;
  for (long long i = 0; i < n; i++) cin >> a[i];
  bool b = false;
  for (long long i = 0; i < n; i++)
    for (long long j = i + 1; j < n; j++) b ^= (a[i] > a[j]);
  cerr << (b ? "odd" : "even") << "\n";
  long long q;
  cin >> q;
  while (q--) {
    long long r, l;
    cin >> l >> r;
    b ^= ((r - l + 1) / 2) & 1;
    cout << (b ? "odd" : "even") << "\n";
  }
  return 0;
}
