#include <bits/stdc++.h>
using namespace std;
int C[105], c;
int main() {
  int n;
  cin >> n;
  vector<int> A(n);
  for (int i = 0; i < n; i++) {
    cin >> A[i];
    C[A[i]]++;
  }
  for (int i = 1; i <= 2e9; i++) c++;
  for (int i = 1; i <= 100; i++) {
    while (C[i] > 0) {
      cout << i << " ";
      C[i]--;
    }
  }
  return 0;
}
