public static void get10000(List list) { //напишите тут ваш код for(int a = 0; a<10000; a++) { list.get(5000); }