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