#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, m, k, t, c, d, x, y, i, j, l, ans, a[100000] = {0},
                                                  b[100000] = {0};
  string s, s1, s2;
  char ch, ch1, ch2;
  cin >> n;
  for (i = 0; i < n; i++) cin >> a[i];
  d = 0;
  for (i = 0; i < n - 1; ++i)
    for (j = i + 1; j < n; ++j)
      if (a[i] > a[j]) ++d;
  d %= 2;
  cin >> m;
  while (m--) {
    cin >> x >> y;
    k = y - x + 1;
    k = k * (k - 1) / 2;
    if (k % 2 == 1) d = 1 - d;
    if (d)
      cout << "odd\n";
    else
      cout << "even\n";
  }
}
