#include <bits/stdc++.h>
using namespace std;
int main() {
  int sb, eb;
  vector<int> box;
  cin >> sb;
  for (int a = 0; a < sb; a++) {
    cin >> eb;
    box.push_back(eb);
  }
  sort(box.begin(), box.end());
  for (int a = 0; a < sb; a++) {
    cout << box[a] << " ";
  }
}
