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