#include <bits/stdc++.h>
using namespace std;
const int maxn = 1000006;
int n, a[maxn];
int main() {
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
  }
  for (int i = n; i < maxn; i++) {
    a[i] = 101;
  }
  for (int i = 0; i < 100; i++) {
    a[n + i] = 102 + i;
    sort(a, a + maxn);
  }
  for (int i = 0; i < n; i++) cout << a[i] << " ";
  cout << endl;
}
