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