#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, tmp;
  vector<int> x;
  cin >> n;
  while (n--) {
    cin >> tmp;
    x.push_back(tmp);
  }
  sort(x.begin(), x.end());
  for (int i = 0; i < x.size(); i++) {
    cout << x[i] << " ";
  }
  return 0;
}
