import java.util.Scanner; import java.util.stream.IntStream; public class Main{ static final Scanner s=new Scanner(System.in); static IntStream REPS(int v){return IntStream.range(0,v);} static IntStream REPS(int l,int r){return IntStream.rangeClosed(l,r);} static IntStream INS(int n){return REPS(n).map(i->getInt());} static int getInt(){return Integer.parseInt(s.next());} public static void main(String[]$){ int n=getInt(); String[]a=REPS(n).mapToObj(i->s.next()).toArray(String[]::new); String[]b=REPS(n).mapToObj(i->s.next()).toArray(String[]::new); for(int i=0;i