#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a[n];
  bool even = true;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    for (int j = 0; j < i; j++)
      if (a[j] > a[i]) even = !even;
  }
  int m;
  cin >> m;
  int ql[m], qr[m];
  for (int i = 0; i < m; i++) cin >> ql[i] >> qr[i];
  for (int i = 0; i < m; i++) {
    if (((qr[i] - ql[i] + 1) * (qr[i] - ql[i]) / 2) % 2 != 0) even = !even;
    cout << (even ? "even\n" : "odd\n");
  }
  return 0;
}
