// 测试 #include using namespace std; #define int long long #define endl '\n' signed main(){ ios::sync_with_stdio(0), cin.tie(0), cout.tie(0); multiset> ms; int n; cin >> n; for(int i = 1; i <= n; i++){ int x; cin >> x; ms.insert(x); } for(auto k:ms) cout << k << ' '; cout << endl; return 0; } /* 5 10 9 8 12 14 */