#include <bits/stdc++.h>
using namespace std;
const int MAX = 1e5 + 55;
const int inf = 1e7 + 77;
const double PI = acos(-1.0);
const double eps = 0.000001;
const int MOD = 10;
int b[MAX];
int a[MAX];
char ch[301][301];
set<int> st;
vector<string> res;
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < n; ++i) cin >> a[i];
  sort(a, a + n);
  for (int i = 0; i < n; ++i) cout << a[i] << " ";
  return 0;
}
