#include <bits/stdc++.h>
using namespace std;
int st[1000];
int main() {
  int N;
  long long int a = 0;
  long long int b = 2000000000;
  cin >> N;
  for (int i = 0; i < N; i++) cin >> st[i];
  int i = 0;
  int endwait;
  endwait = clock() + CLOCKS_PER_SEC;
  while (clock() < endwait) {
  }
  sort(st, st + N);
  for (int i = 0; i < N; i++) cout << st[i] << ' ';
  return 0;
}
