#include using namespace std;int main(){string s;getline(cin,s);setx;while(getline(cin, s))x.insert(s);for(auto s:x)cout<