#include <bits/stdc++.h>
using namespace std;
int n, cnt;
int a[1001];
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  sort(a, a + n);
  for (int i = -1e9; i <= 1e9; i++) {
    cnt++;
  }
  for (int i = 0; i < n; i++) {
    cout << a[i] << " ";
  }
}
