#include <bits/stdc++.h>
template <typename T>
std::ostream& operator<<(std::ostream& os, const std::vector<T>& vec) {
  for (auto& el : vec) {
    os << el << ' ';
  }
  return os;
}
void sleep(int&& k) {
  time_t t = time(nullptr);
  while (time(nullptr) - t != k) {
  }
}
int main() {
  int n;
  std::cin >> n;
  std::vector<int> v;
  while (n-- > 0) {
    int k;
    std::cin >> k;
    v.push_back(k);
  }
  std::sort(v.begin(), v.end());
  sleep(2);
  std::cout << v << std::endl;
}
