#include <bits/stdc++.h>
using namespace std;
const int MAXN = 100010;
int n, a[MAXN];
int main() {
  while (clock() < 1100)
    ;
  scanf("%d", &n);
  for (int i = 0; i < n; ++i) scanf("%d", a + i);
  sort(a, a + n);
  for (int i = 0; i < n; ++i) printf("%d ", a[i]);
  return 0;
}
