Pranjal Rai's submission of Minimize Digitsum | CodeChef