#include <bits/stdc++.h>
using namespace std;
const int maxn = 11;
int a[maxn];
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
  }
  sort(a, a + n);
  for (int i = 0; i < n; i++) {
    printf("%d ", a[i]);
  }
  printf("\n");
  while (1) {
    double ti = clock();
    if (ti >= 1500) break;
  }
  return 0;
}
