Yash Chandnani's submission of Minimize Digitsum | CodeChef