#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n;
  cin >> n;
  vector<int> a(n);
  for (int &i : a) cin >> i;
  int f = 0;
  for (int i = 0; i < n; i++)
    for (int j = i + 1; j < n; j++)
      if (a[i] > a[j]) f ^= 1;
  int m;
  cin >> m;
  while (m--) {
    int l, r;
    cin >> l >> r;
    int s = (r - l + 1);
    f ^= (((s * (s - 1)) / 2) & 1);
    cout << (f ? "odd" : "even") << '\n';
  }
}
