#include <bits/stdc++.h>
using namespace std;
int main() {
  int cl, c;
  cin >> cl;
  int clList[100];
  for (int f = 0; f < cl; f++) {
    cin >> clList[f];
  }
  for (int a = 0; a < cl; a++) {
    for (int b = 0; b < cl - 1; b++) {
      if (clList[b] > clList[b + 1]) {
        c = clList[b];
        clList[b] = clList[b + 1];
        clList[b + 1] = c;
      }
    }
  }
  for (int f = 0; f < cl; f++) {
    cout << " " << clList[f];
  }
  return 0;
}
