Решение by SergeyBelyaev
_