#include <bits/stdc++.h>
int main() {
  int n, num[1500], count = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) scanf("%d", &num[i]);
  for (int i = 0; i < n; i++)
    for (int j = 0; j < i; j++)
      if (num[i] < num[j]) count++;
  int m;
  scanf("%d", &m);
  while (m--) {
    int a, b;
    scanf("%d %d", &a, &b);
    count += (b - a + 1) / 2;
    if (count % 2 == 0)
      printf("even\n");
    else
      printf("odd\n");
  }
  return 0;
}
