#include <bits/stdc++.h>
using namespace std;
int a[15];
long long maxn = 250000000;
long long none = 0;
int main() {
  int n;
  cin >> n;
  for (long long i = 1; i < maxn; i++) none += i % 9865236541;
  for (int i = 0; i < n; i++) cin >> a[i];
  sort(a, a + n);
  for (int i = 0; i < n; i++) cout << a[i] << " ";
  return 0;
}
