HIR180's submission of Minimum Sum | CodeChef