#include <bits/stdc++.h>
using namespace std;
long long a, b, c, d, e, maxn;
vector<long long> ar;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> a;
  for (long long i = 0; i < (long long)2 * 1e8; ++i) b += 1;
  ar.resize(a);
  for (long long i = 0; i < a; ++i) cin >> ar[i];
  sort(ar.begin(), ar.end());
  for (long long i = 0; i < a; ++i) cout << ar[i] << " ";
}
