#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, swa;
  cin >> n;
  int arr[n];
  for (int i = 0; i < n; i++) cin >> arr[i];
  for (int i = 0; i < n; i++)
    for (int k = 0; k < n; k++) {
      if (arr[i] < arr[k]) {
        swa = arr[k];
        arr[k] = arr[i];
        arr[i] = swa;
      }
    }
  for (int i = 0; i < n; i++) cout << arr[i] << " ";
  return 0;
}
