#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int l = 0, f = 1;
  char a = getchar();
  for (; a < '0' || a > '9'; a = getchar())
    if (a == '-') f = -1;
  for (; a >= '0' && a <= '9'; a = getchar()) l = l * 10 + a - 48;
  return l * f;
}
int main(int argc, char const *argv[]) {
  int ti = clock();
  int n = read(), a[105];
  for (int i = 1; i <= n; ++i) a[i] = read();
  sort(a + 1, a + 1 + n);
  while (clock() - ti < 1500)
    ;
  for (int i = 1; i <= n; ++i) {
    if (i != n)
      cout << a[i] << " ";
    else
      cout << a[i];
  }
  return 0;
}
