Abhijeet Krishnan's submission of Minimize Digitsum | CodeChef