https://www.oftob.com/ru/задачник-абрамян-решебник/minmax/720-minmax07
Minmax07