#include <bits/stdc++.h>
#pragma GCC optimization("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC target("avx,avx2,fma")
using namespace std;
int arr[1000000];
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) cin >> arr[i];
  bool even = true;
  for (int i = 0; i < n; i++)
    for (int j = i + 1; j < n; j++)
      if (arr[i] > arr[j]) even = !even;
  int m;
  cin >> m;
  for (int i = 0; i < m; i++) {
    int a, b;
    cin >> a >> b;
    int k = b - a + 1;
    int c = k * (k - 1) / 2;
    even = (c % 2 == 0 ? even : !even);
    cout << (even ? "even" : "odd") << '\n';
  }
  return 0;
}
