Create remove k digits from a number, and let the output be minimal