#include <bits/stdc++.h>
using namespace std;
const int N = 4e4;
int main() {
  ios::sync_with_stdio(false);
  int n;
  while (cin >> n) {
    int a[12];
    for (int i = 0; i < n; ++i) cin >> a[i];
    sort(a, a + n);
    long long p = clock();
    while (clock() - p < 1400)
      ;
    cout << a[0];
    for (int i = 1; i < n; ++i) cout << " " << a[i];
    cout << endl;
  }
  return 0;
}
