#include using namespace std; int main(){ int n;cin >>n; string f,l; cin>>f; for(int i=1;i>l; cin>>l; cout<