#include #define L for (int i = 0; i < n; i++) using namespace std; int main() {int n;cin>>n;string a[n],t,u;L cin>>t>>u,a[i]=t+" "+u;sort(a,a+n);L std::cout<