#include <bits/stdc++.h>
using namespace std;
int a[20];
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < n; ++i) {
    scanf("%d", &a[i]);
  }
  sort(a, a + n);
  clock_t t;
  t = clock();
  while (1) {
    clock_t t1 = clock() - t;
    double ans = ((double)t1) / 1000;
    if (ans > 2.000000000000001) break;
  }
  for (int i = 0; i < n; ++i) {
    printf("%d%c", a[i], i == n - 1 ? '\n' : ' ');
  }
}
