#include <bits/stdc++.h>
using namespace std;
void solve() {
  int n;
  cin >> n;
  int x;
  vector<int> a;
  int j = 0;
  while (clock() < 1500) {
    j++;
  }
  sort(a.begin(), a.end());
  a.clear();
  for (int i = 0; i < n; i++) {
    cin >> x;
    a.push_back(x);
  }
  sort(a.begin(), a.end());
  for (int i = 0; i < n; i++) {
    cout << a[i] << " ";
  }
}
int main() {
  cout.sync_with_stdio(false);
  cin.tie(0);
  solve();
  return 0;
}
