Mayank Jain's submission of Minimum Maximum | CodeChef