#include using namespace std;int N;string s[109];int main(){cin >> N;getline(cin,s[0]);while(N--)getline(cin,s[N]);sort(s,s+N);while(s[N]!="")cout<