#include <bits/stdc++.h>
using namespace std;
const long long int mod = 1000000007;
int main() {
  ios::sync_with_stdio(0);
  int n;
  cin >> n;
  int a[n];
  for (int it = 0; it < n; it++) {
    cin >> a[it];
  }
  sort(a, a + n);
  for (int it = 0; it < n; it++) {
    cout << a[it] << " ";
  }
  cout << endl;
}
