import java.util.Scanner; class no597{ public static void main(String[] args) { Scanner stdIn=new Scanner(System.in); short n=stdIn.nextShort(); String[] s=new String[n]; for(short i=0;i