Hemant Joshi's submission of Reverse Maximisation | CodeChef