Nikolay Domashenko's submission of Minimum Maximum | CodeChef