#include <bits/stdc++.h>
using namespace std;
int n, l, r, m, cnt;
int a[1501];
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    for (int j = 0; j < i; j++)
      if (a[i] < a[j]) cnt++;
  }
  cin >> m;
  for (int i = 0; i < m; i++) {
    cin >> l >> r;
    r = (r - l + 1) * (r - l) / 2;
    if (r % 2 == 1) cnt++;
    if (cnt % 2 == 1)
      cout << "odd\n";
    else
      cout << "even\n";
  }
}
