class Solution {
public:
    static bool cmp(string &a, string &b) {
        return a + b < b + a;
    }
    string PrintMinNumber(vector<int> numbers) {
        vector<string>vec;
        for (auto n : numbers) {
            vec.push_back(to_string(n));
        }
    
        sort(vec.begin(), vec.end(), cmp);
            string ret;
        for (auto n : vec) { 
            ret += n;
        }
        return ret;
    }
};