My solutions on JavaRush.ru