import functools
class Solution:
    def PrintMinNumber(self , numbers: List[int]) -> str:
        # write code here
        if not numbers: return ''
        length=len(numbers)
        if length==1: return str(numbers[0])
        
        def __mysort(x,y):
            if (x + y) > (y + x):return 1
            else: return -1
        
        li=[str(i) for i in numbers]
        li.sort(key=functools.cmp_to_key(__mysort))
        return ''.join(li)