source_code: import java.io.OutputStream;
  import java.io.IOException;
  import java.io.InputStream;
  import java.io.PrintWriter;
  import java.util.StringTokenizer;
  import java.io.IOException;
  import java.io.BufferedReader;
  import java.io.InputStreamReader;
  import java.io.InputStream;
  
  /**
   * Built using CHelper plug-in
   * Actual solution is at the top
   *
   * @author Liavontsi Brechka
   */
  public class Main {
      public static void main(String[] args) {
          InputStream inputStream = System.in;
          OutputStream outputStream = System.out;
          InputReader in = new InputReader(inputStream);
          PrintWriter out = new PrintWriter(outputStream);
          TaskD solver = new TaskD();
          solver.solve(1, in, out);
          out.close();
      }
  
      static
      @SuppressWarnings("Duplicates")
      class TaskD {
          public void solve(int testNumber, InputReader in, PrintWriter out) {
              int n = in.nextInt();
              int[] a = in.nextIntArray(n);
              int m = in.nextInt();
  
              int count = 0;
              for (int i = 0; i < n; i++) {
                  for (int j = i + 1; j < n; j++) {
                      if (a[i] > a[j]) count = (count + 1) % 2;
                  }
              }
  
              StringBuilder res = new StringBuilder();
  
              int l, r;
              while (m-- > 0) {
                  l = in.nextInt() - 1;
                  r = in.nextInt() - 1;
  
                  count = count ^ (((r - l + 1) * (r - l) / 2) % 2);
                  res.append(count == 1 ? "odd" : "even").append('\n');
              }
  
              out.print(res);
          }
  
      }
  
      static class InputReader {
          private final BufferedReader reader;
          private StringTokenizer tokenizer;
  
          public InputReader(InputStream in) {
              reader = new BufferedReader(new InputStreamReader(in));
          }
  
          public int[] nextIntArray(int size) {
              int[] array = new int[size];
              for (int i = 0; i < size; ++i) {
                  array[i] = nextInt();
              }
              return array;
          }
  
          public int nextInt() {
              return Integer.parseInt(next());
          }
  
          public String next() {
              while (tokenizer == null || !tokenizer.hasMoreTokens()) {
                  tokenizer = new StringTokenizer(readLine());
              }
              return tokenizer.nextToken();
          }
  
          public String readLine() {
              String line;
              try {
                  line = reader.readLine();
              } catch (IOException e) {
                  throw new RuntimeException(e);
              }
              return line;
          }
  
      }
  }
  
  