#include <bits/stdc++.h>
using namespace std;
const int maxn = 110;
int ar[maxn];
void solve() {
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> ar[i];
  }
  sort(ar, ar + n);
  for (int i = 0; i < n; i++) {
    cout << ar[i] << " ";
  }
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  solve();
  return 0;
}
