#include <bits/stdc++.h>
using namespace std;
int a[100005];
int main() {
  ios_base::sync_with_stdio(false);
  int t = 1;
  while (t--) {
    int n;
    cin >> n;
    vector<int> v;
    while (n--) {
      int x;
      cin >> x;
      v.push_back(x);
    }
    for (int i = 0; i <= 100004; i++) a[i] = i;
    int xx = 1, mn = 1e8, mod = 1e9 + 7;
    for (int i = 0; i <= mn; i++) xx = (1ll * xx * i) % mod;
    sort(v.begin(), v.end());
    for (int i = 0; i <= n - 1; i++) v[i] += xx;
    for (__typeof(v.begin()) it = v.begin(); it != v.end(); it++) {
      cout << (*it) - xx;
      cout << " ";
    }
  }
  return 0;
}
