#include <bits/stdc++.h>
int main() {
  int n, a;
  std::cin >> n;
  std::vector<int> vec;
  for (int i = 0; i < n; i++) {
    std::cin >> a;
    vec.push_back(a);
  }
  std::sort(vec.begin(), vec.end());
  for (const auto& s : vec) std::cout << s << " ";
  std::cout << std::endl;
}
