Ajay Sharma's submission of Minimum Maximum | CodeChef