Amit Dwivedi's submission of Minimum Maximum | CodeChef