Solves problems for internship by Yandex