Почему System.out.println("Проход#" + i); выводиться больше 1 раза? System.out.println("Проход#" + i);