import java.util.*;
public class Main {
public static void main(String args[])
{
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int rows =1;
int nst = n;
while(rows<=n)
{
for(int cst = 1; cst<=nst;cst++)
{
if(rows>1 && rows< n && cst==nst/2 +1)
{
System.out.print(" " +"\t");
}
else if(rows==nst/2+1 && cst>1 && cst<nst)
{
System.out.print(" "+"\t");
}
else
{
System.out.print("*" +"\t");
}
}
//preparation
System.out.println();
rows++;
}
}
}