#include <bits/stdc++.h>
int cmpfunc(const void* a, const void* b) { return (*(int*)a - *(int*)b); }
int main() {
  int n, i;
  scanf("%i", &n);
  int arr[n + 1];
  for (i = 0; i < n; ++i) scanf("%i", &arr[i]);
  qsort(arr, n, sizeof(int), cmpfunc);
  for (i = 0; i < n; ++i) printf("%i ", arr[i]);
}
