#include using namespace std; int main() { int n; cin >> n; int x; vectorv; while(n--) { cin >> x; v.push_back(x); } sort(v.begin(), v.end()); for (auto i:v) { cout << i << " "; } return 0; }