char*s,b[];main(n){scanf("%d",&n);memset(b,32,n-2);b[n-2]=42;for(s=strdup(b);n--;strcat(++s,"**"))puts(n?s:b);}