#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  int n;
  vector<int> term;
  while (cin >> n) {
    for (a = 0; a < n; a++) {
      cin >> b;
      term.push_back(b);
    }
    sort(term.begin(), term.end());
    for (a = 0; a < n; a++) {
      cout << term[a] << " ";
    }
    cout << "\n";
    term.clear();
  }
  return 0;
}
