#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[110] = {0};
  int n;
  cin >> n;
  int maxx = 0;
  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");
  return 0;
}
