tushar gupta's submission of Minimum Sum | CodeChef