#include <bits/stdc++.h>
using namespace std;
const long long N = 1e2 + 10;
const long long mod = 1e9 + 7;
const long long INF = 9e18;
long long n, num[N];
void solve() {}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  while (cin >> n) {
    for (long long i = 1; i <= n; ++i) cin >> num[i];
    sort(num + 1, num + 1 + n);
    for (long long i = 1; i <= n - 1; ++i) cout << num[i] << " ";
    cout << num[n] << endl;
  }
  return 0;
}
