class Main{
	static interface list{
		int get(int idx);
		int size();
	}
	static class range implements list {
		int begin;
		int end;
		range(int begin, int end){this.begin=begin; this.end=end;}
		public int get(int idx){return begin+idx;}
		public int size(){return end-begin;}
	}
	static class reverse implements list {
		list ls;
		reverse(list ls){this.ls=ls;}
		public int get(int idx){return ls.get(ls.size()-1-idx);}
		public int size(){return ls.size();}
	}
	public static void main (String[] args) throws java.lang.Exception {
		System.out.println( new reverse(new range(1,1000000001)).get(0) );
	}
}