#include <bits/stdc++.h>
using namespace std;
int v[15];
int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n; ++i) cin >> v[i];
  sort(v + 1, v + n + 1);
  int start = clock();
  while (clock() < start + 1500)
    ;
  for (int i = 1; i <= n; ++i) cout << v[i] << ' ';
  cout << '\n';
  return 0;
}
