#include <bits/stdc++.h>
int arr[150];
int qrr[150];
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) scanf("%d", &arr[i]);
  sort(arr, arr + n);
  for (int i = 0; i < n; i++) {
    if (i == 0)
      printf("%d", arr[i]);
    else
      printf(" %d", arr[i]);
  }
  cout << endl;
  return 0;
}
