#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, val;
  vector<int> box;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> val;
    box.push_back(val);
  }
  sort(box.begin(), box.end());
  for (int i = 0; i < n; i++) {
    cout << box[i] << " ";
  }
  return 0;
}
