#include <bits/stdc++.h>
using namespace std;
#pragma GCC optimize("O3")
#pragma GCC target("sse4")
const double PI = acos(-1.0);
const long long mod = 1000000007;
const long long INF = 1e9;
const long long LINF = 1e18;
const long long MAXN = 1e6 + 1;
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int n;
  cin >> n;
  vector<long long> a(n);
  for (int i = (0); i < (n); ++i) cin >> a[i];
  long long x = 0;
  for (int i = (0); i < (n); ++i)
    for (int j = (i + 1); j < (n); ++j)
      if (a[i] > a[j]) ++x;
  x &= 1;
  long long m, l, r;
  cin >> m;
  for (int i = (0); i < (m); ++i) {
    cin >> l >> r;
    if (((r - l) * (r - l + 1)) % 4 == 2) x ^= 1;
    if (x & 1)
      cout << "odd";
    else
      cout << "even";
    cout << endl;
  }
  cin >> n;
  return 0;
}
