Aakash Pahwa's submission of Minimum Sum | CodeChef