#include <bits/stdc++.h>
using namespace std;
int n, a[20];
vector<long long> v;
int main() {
  cin >> n;
  int s = 1;
  for (long long i = 1; i < 1e5; ++i) v.push_back(i);
  while (v.size() > 8e4) v.erase(v.begin());
  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]);
}
