#include <bits/stdc++.h>
using namespace std;
int n, a[100003], i;
int main() {
  cin >> n;
  for (i = 1; i <= n; i++) cin >> a[i];
  long long p = clock();
  while (clock() - p < 1400)
    ;
  sort(a + 1, a + 1 + n);
  for (i = 1; i <= n; i++) cout << a[i] << " ";
  return 0;
}
