#include <iostream> #include <vector> #include <algorithm> using namespace std; int main(){ int num; while (cin >> num){ vector<string> v(num); for (int i = 0; i<num; i++){ cin >> v[i]; } sort(v.begin(), v.end()); for (auto e : v){ cout <&l...