import java.util.*;

public class SortedStorer{
	private ArrayList<Integer> data = new ArrayList<Integer>();
	
	/**
	 * Adds the item in it's correct sorted order within the elements
	 * 
	 * @param item the item to be added
	 */
	public void add(Integer item){
		
	}
	
	public Integer get(int i){
		return data.get(i);
	}
	
	/**
	 * Adds the item in it's correct sorted order within the elements
	 * 
	 * @param item the item to be added
	 */
	/*public void add(Integer item){
		// find the appropriate place for the item
		int position = 0;
		
		while( position < data.size() &&
			   item > data.get(position) ){
			position++;
		}
		
		data.add(position, item);
	}*/
}