#include <bits/stdc++.h>
using namespace std;
int a, i, c = 0, j, k, l;
int main() {
  cin >> a;
  int arr[a];
  for (i = 0; i < a; i++) cin >> arr[i];
  sort(arr, arr + a);
  for (l = 0; l < a; l++) cout << arr[l] << " ";
}
