public static void main(String s[])
	{
		Integer a[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9 };

		RSelect<Integer> rselect = new RSelect<>();
		for (int rank = 1; rank < 9; rank++)
		{
			System.out.println("Element with rank " + rank + " "
					+ rselect.select(a, 1, 0, a.length - 1));
		}
	}