solution for https://github.com/yandex-shri/introtask-space