#include <bits/stdc++.h>
using namespace std;
const long long INF = (1LL << 60) - 1;
const long long maxN = 1000001;
int32_t main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long t = 1;
  while (t--) {
    long long n;
    cin >> n;
    vector<long long> s(n);
    for (long long i = 0; i < n; ++i) cin >> s[i];
    sort(s.begin(), s.end());
    for (long long i = 0; i < n; ++i) cout << s[i] << " ";
  }
}
