https://hyper.math.ru/lesson/56/21/494?content=homeWork&level=second&style=B&task=6