public static void main(String[] args) {
		
		int[] A = new int[2500];
        for(int i = 2500; i >= 1; --i){
            A[2500-i] = i;
        }
//        int [] A = new int[]{1,2};
		System.out.println(new Jump_Game_II().jump(A));
	}