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