#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, m[101], s = 0;
  cin >> x;
  for (int i = 0; i < x; i++) {
    cin >> m[i];
  }
  for (int i = 0; i < x; i++) {
    for (int j = x - 1; j > i; j--) {
      if (m[i] > m[j]) {
        s = m[i] - m[j];
        m[i] -= s;
        m[j] += s;
      }
    }
  }
  for (int i = 0; i < x; i++) {
    cout << m[i] << "  ";
  }
  return 0;
}
