Solutions of two tasks for HeadHunter Developer School.