j;char*p;main(x,o){for(;p=gets(o);p=puts(o),x=j++?x:p-2)for(;j%x&&++p-o32)=32;}