#include #include #include #include #include #include #include #include #include #include #include #include #define vll vector #define vvvl vector #define vvl vector> #define VV(a, b, c, d) vector>(a, vector(b, c)) #define VVV(a, b, c, d) vector(a, vvl(b, vll (c, d))); #define re(c, b) for(ll c=0;c> n; vll a(n);get(a); for(int i=1;i<=2*n-4;i++){ for(int j=0;jt||j>=n||j<0||t>=n||t<0) continue; if(a[j]>a[t]) swap(a[j], a[t]); } } print(a); }