#include <bits/stdc++.h>
using namespace std;
double a[200000];
int i, n;
int main() {
  cin >> n;
  double t = clock();
  while (cin >> a[i++])
    ;
  sort(a, a + n);
  while (clock() - t < 1940)
    ;
  for (i = 0; i < n; i++) cout << a[i] << " ";
  return 0;
}
