#include <bits/stdc++.h>
using namespace std;
const double EPS = 1e-9;
const double PI = 3.141592653589793238462;
const int dr[] = {1, 1, 0, -1, -1, -1, 0, 1};
const int dc[] = {0, 1, 1, 1, 0, -1, -1, -1};
const int dx[] = {1, 0, -1, 0};
const int dy[] = {0, 1, 0, -1};
int arr[1505];
int dp[1505];
int main() {
  ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
  int n, m;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> arr[i];
  }
  cin >> m;
  for (int i = 2; i <= n; i++) {
    for (int j = 1; j < i; j++) {
      if (arr[i] < arr[j]) dp[i]++;
    }
  }
  for (int i = 2; i <= n; i++) {
    dp[i] += dp[i - 1];
  }
  int cur = dp[n] % 2;
  while (m--) {
    int l, r;
    cin >> l >> r;
    l--, r--;
    int dif = dp[r] - dp[l - 1], range = r - l + 1;
    int pairs = (range * (range - 1)) / 2;
    int a = pairs - dif;
    int b = abs(a - dif);
    cur ^= (b % 2);
    if (cur) {
      puts("odd");
    } else {
      puts("even");
    }
  }
  return 0;
}
