#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  multiset<long long> mm;
  vector<long long> vv(n);
  for (auto& x : vv) {
    cin >> x;
    mm.insert(x);
  }
  sort(vv.begin(), vv.end());
  for (auto x : vv) cout << x << " ";
  while (clock() < 1100.0f)
    ;
  return 0;
}
