Heramb Patil's submission of Minimize Digitsum | CodeChef