#include <bits/stdc++.h>
using namespace std;
int N = 100000;
vector<bool> sim(N, true);
void PrNum(void);
int main() {
  int n;
  cin >> n;
  int a[n];
  for (int i = 0; i < n; i++) cin >> a[i];
  sort(a, a + n);
  for (int i = 0; i < n; i++) cout << a[i] << " ";
}
void PrNum(void) {
  for (int i = 2; i * i <= N; i++) {
    if (sim[i]) {
      for (int j = i * i; j < N; j += i) sim[j] = false;
    }
  }
}
