#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:167177216")
const unsigned long long mod = 1000000007;
int Inf = (int)2e9;
using namespace std;
int main() {
  int t = clock();
  int t1 = clock();
  while (t1 - t < 1200) {
    t1 = clock();
  }
  int a[101];
  memset(a, 0, sizeof(a));
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int x;
    cin >> x;
    a[x]++;
  }
  for (int i = 1; i <= 100; i++) {
    for (int j = 0; j < a[i]; j++) {
      printf("%d ", i);
    }
  }
  return 0;
}
