source_code: import java.awt.geom.*;
  import java.io.*;
  import java.math.*;
  import java.text.*; 
  import java.util.*;
  import java.util.regex.*;
  
  /*
  		  br = new BufferedReader(new FileReader("input.txt"));
  		  pw = new PrintWriter(new BufferedWriter(new FileWriter("output.txt")));
  		  br = new BufferedReader(new InputStreamReader(System.in));
  		  pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
   */
  
  public class Main {
  	private static BufferedReader br;
  	private static StringTokenizer st;
  	private static PrintWriter pw;
  
  	public static void main(String[] args) throws IOException {
  		br = new BufferedReader(new InputStreamReader(System.in));
  		pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
  		//int qq = 1;
  		int qq = Integer.MAX_VALUE;
  		//int qq = readInt();
  		for(int casenum = 1; casenum <= qq; casenum++)	{
  			int n = readInt();
  			int[] l = new int[n];
  			for(int i = 0; i < n; i++) {
  				l[i] = readInt();
  			}
  			int ret = 0;
  			for(int i = 0; i < n; i++) {
  				for(int j = i+1; j < n; j++) {
  					if(l[i] > l[j]) {
  						ret++;
  					}
  				}
  			}
  			int qqq = readInt();
  			while(qqq-- > 0) {
  				int a = readInt();
  				int b = readInt();
  				int d = b-a;
  				ret ^= d*(d+1)/2;
  				pw.println(ret%2 == 0 ? "even" : "odd");
  			}
  		}
  		exitImmediately();
  	}
  
  	private static void exitImmediately() {
  		pw.close();
  		System.exit(0);
  	}
  
  	private static long readLong() throws IOException {
  		return Long.parseLong(nextToken());
  	}
  
  	private static double readDouble() throws IOException {
  		return Double.parseDouble(nextToken());
  	}
  
  	private static int readInt() throws IOException {
  		return Integer.parseInt(nextToken());
  	}
  
  	private static String nextLine() throws IOException  {
  		String s = br.readLine();
  		if(s == null) {
  			exitImmediately();
  		}
  		st = null;
  		return s;
  	}
  
  	private static String nextToken() throws IOException  {
  		while(st == null || !st.hasMoreTokens())  {
  			st = new StringTokenizer(nextLine().trim());
  		}
  		return st.nextToken();
  	}
  }