#include <bits/stdc++.h>
using namespace std;
const int N = 300010;
int n, m, a[N];
int main() {
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) scanf("%d", &a[i]);
  int ans = 0;
  for (int i = 1; i <= n; i++) {
    for (int j = i + 1; j <= n; j++) {
      ans ^= (a[i] > a[j] ? 1 : 0);
    }
  }
  scanf("%d", &m);
  for (int i = 1; i <= m; i++) {
    int l, r;
    scanf("%d%d", &l, &r);
    int len = r - l + 1;
    if (len % 4 == 2 || len % 4 == 3) ans ^= 1;
    if (ans)
      cout << "odd" << endl;
    else
      cout << "even" << endl;
  }
  return 0;
}
