Nikolay Domashenko's submission of Minimum or Maximum | CodeChef