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