#include using namespace std; #define int long long signed main(){ int n; cin >> n; vector vec(n); for(int i = 0; i < n; i++){ cin >> vec[i]; } sort(vec.begin(), vec.end()); for(int i = 0; i < n; i++){ cout << vec[i] << " "; } cout << endl; }