Zach Polansky's submission of Minimize Digitsum | CodeChef