https://etudes.ru/models/three-utilities-problem-mug/3/