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