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