#include <bits/stdc++.h>
int i;
using namespace std;
int ceel(long long int number, long long int divider) {
  double c;
  long long int c2, ans = 0;
  c2 = number / divider;
  c = (double)number / (double)divider;
  if ((c - c2) != 0) {
    ans = c2 + 1;
  } else {
    ans = c2;
  }
  return ans;
}
int main() {
  int a, n, arr[10000];
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a;
    arr[i] = a;
  }
  sort(arr, arr + n);
  for (int i = 0; i < n; i++) {
    cout << arr[i] << " ";
  }
  cout << endl;
  return 0;
}
