#include using namespace std; int main(){ char s[11][22]; char t[11][22]; int n; scanf("%d",&n); for(int i=0;i