#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  list<int> d;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    int x;
    cin >> x;
    d.push_back(x);
  }
  d.sort();
  list<int>::iterator it = d.begin();
  for (; it != d.end(); it++) cout << *it << " ";
  return 0;
}
