import java.util.Scanner;
public class Main{
public static void main(String []arg){
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
for(int i=n/2+1;i>=1;i–){
for(int j=1;j<=n;j++){
if(j==i||j==n+1-i)
System.out.print(“*”);
else
System.out.print(” “);
}
System.out.println();
}
for(int i=2;i<=n/2+1;i++){
for(int j=1;j<=n;j++){
if(j==i||j==n+1-i)
System.out.print("*");
else
System.out.print(" ");
}
System.out.println();
}
}
}