# -*- coding:utf-8 -*-
class Solution:
    def PrintMinNumber(self, numbers):
        # write code here
        import functools
        num_str = list(map(str, numbers))
        cmp = lambda a, b: 1 if a + b > b + a else -1
        num_str.sort(key = functools.cmp_to_key(cmp))
        return ''.join(num_str)