for (int i = 0; i < 13; i++){ list.add(0, list.remove(list.size()-1)); } Как работает этот цикл?