JavaRush Level4 part2