#include <bits/stdc++.h>
using namespace std;
map<long long, long long> mp;
int b, c, n, m, x, cnt;
string s, o, name = "shohrukh";
vector<int> v;
vector<int> ve;
pair<int, int> p;
int main() {
  ios_base::sync_with_stdio(0);
  int a[100001];
  cin >> n;
  for (int i = 1; i <= n; i++) cin >> a[i];
  long long p = clock();
  while (clock() - p < 1400)
    ;
  sort(a + 1, a + 1 + n);
  for (int i = 1; i <= n; i++) cout << a[i] << " ";
}
