Devansh Bajpai's submission of Minimum Maximum | CodeChef