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