source_code: import java.util.*;
  import java.io.*;
  import java.math.BigInteger;
  
  public class D {
  	FastScanner in;
  	PrintWriter out;
  	boolean systemIO = true;
  
  	public void solve() {
  		int n = in.nextInt();
  		int[] a = new int[n];
  		for (int i = 0; i < a.length; i++) {
  			a[i] = in.nextInt();
  		}
  		int x = 0;
  		for (int i = 0; i < a.length; i++) {
  			for (int j = i + 1; j < a.length; j++) {
  				if (a[i] > a[j]) {
  					x++;
  				}
  			}
  		}
  		boolean ans = x % 2 == 0;
  		int m = in.nextInt();
  		for (int i = 0; i < m; i++) {
  			int len = -in.nextInt() + in.nextInt();
  			len = len * (len + 1) / 2;
  			if (len % 2 == 1) {
  				ans = !ans;
  			}
  			if (ans) {
  				out.println("even");
  			} else {
  				out.println("odd");
  			}
  		}
  	}
  
  	public void run() {
  		try {
  			if (systemIO) {
  				in = new FastScanner(System.in);
  				out = new PrintWriter(System.out);
  			} else {
  				in = new FastScanner(new File("segments.in"));
  				out = new PrintWriter(new File("segments.out"));
  			}
  			solve();
  
  			out.close();
  		} catch (IOException e) {
  			e.printStackTrace();
  		}
  	}
  
  	class FastScanner {
  		BufferedReader br;
  		StringTokenizer st;
  
  		FastScanner(File f) {
  			try {
  				br = new BufferedReader(new FileReader(f));
  			} catch (FileNotFoundException e) {
  				e.printStackTrace();
  			}
  		}
  
  		FastScanner(InputStream f) {
  			br = new BufferedReader(new InputStreamReader(f));
  		}
  
  		String nextLine() {
  			try {
  				return br.readLine();
  			} catch (IOException e) {
  				return null;
  			}
  		}
  
  		String next() {
  			while (st == null || !st.hasMoreTokens()) {
  				try {
  					st = new StringTokenizer(br.readLine());
  				} catch (IOException e) {
  					e.printStackTrace();
  				}
  			}
  			return st.nextToken();
  		}
  
  		int nextInt() {
  			return Integer.parseInt(next());
  		}
  
  		long nextLong() {
  			return Long.parseLong(next());
  		}
  
  		double nextDouble() {
  			return Double.parseDouble(next());
  		}
  
  	}
  
  	// AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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