#include <iostream>
#include <cstdio>
#include <algorithm>

using namespace std;
int main(int argc, char const *argv[])
{
    int n;
    while (cin>>n)
    {
        int number[101];
        for (int i = 0; i < n; i++)
        {
            cin>>number[i];
        }
        sort(number,number+n);
        for (int i = 0; i < n; i++)
        {
            cout<<number[i]<<' ';   
        }
        
    }
    
    return 0;
}