using C=System.Console;class P{static void Main() {int i=0,j,n=int.Parse(C.ReadLine());string s="",t;for(;i++1?t+s+t:t)for(j=0,t="";j++