Encho Mishinev's submission of Minimize Digitsum | CodeChef