https://oftob.com/ru/задачник-абрамян-решебник/minmax/707-minmax20
Minmax20