#include <bits/stdc++.h>
using namespace std;
int main() {
  int e, k;
  cin >> e;
  int ar[e];
  for (int i = 0; i < e; i++) cin >> ar[i];
  for (int i = 0; i < e; i++) {
    for (int j = i + 1; j < e; j++) {
      if (ar[i] > ar[j]) {
        k = ar[i];
        ar[i] = ar[j];
        ar[j] = k;
      }
    }
  }
  for (int w = 0; w < e; w++) {
    if (w + 1 == e)
      cout << ar[w] << endl;
    else
      cout << ar[w] << " ";
  }
  return 0;
}
