#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.precision(0);
  int n, t;
  cin >> n;
  multiset<int> a;
  for (int i = 0; i < n; i++) {
    cin >> t;
    a.insert(t);
  }
  for (int x : a) cout << x << " ";
  while (clock() < 2000)
    ;
  return 0;
}
