text: #include <cmath>
  #include <cstdio>
  #include <vector>
  #include <iostream>
  #include <algorithm>
  using namespace std;
  
  
  int main() {
      /* Enter your code here. Read input from STDIN. Print output to STDOUT */   
      int n;
      cin >> n;
      vector<int> a(n);
      for(int i = 0; i < n; ++i)
          cin >> a[i];
      sort(a.begin(), a.end());
      for(auto x:a)
          cout << x << " ";
      return 0;
  }
  