Nakul Bharti's submission of Minimize Digitsum | CodeChef