#include <bits/stdc++.h>
using namespace std;
int a[100], n, tot;
bool judge() {
  for (int i = 2; i <= n; i++) {
    if (a[i] < a[i - 1]) return false;
  }
  return true;
}
int main() {
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) scanf("%d", &a[i]);
  while (1) {
    if (clock() > 1500) break;
  }
  sort(a + 1, a + 1 + n);
  for (int i = 1; i <= n; i++) printf("%d ", a[i]);
  return 0;
}
