#include <bits/stdc++.h>
using namespace std;
template <class T1, class T2>
ostream& operator<<(ostream& out, pair<T1, T2> pair) {
  return out << "(" << pair.first << ", " << pair.second << ")";
}
template <class T>
void _printcoll(T const& coll) {
  int first = 1;
  cout << "[";
  for (auto a : coll) {
    if (!first) printf(", ");
    cout << a;
    first = false;
  }
  cout << "]" << endl;
}
template <class T>
void _printcoll(T const& coll, int len) {
  int first = 1;
  cout << "[";
  for (auto a : coll) {
    if (!first) printf(", ");
    cout << a;
    first = false;
    len--;
    if (!len) break;
  }
  cout << "]" << endl;
}
int in[(105)];
int main() {
  int N;
  scanf("%d", &N);
  for (int i = 0; i < N; i++) scanf("%d", &in[i]);
  sort(in, in + N);
  ;
  for (int i = 0; i < N; i++) printf("%d ", in[i]);
  return 0;
}
