import java.util.*;
class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int row = 1, col;
if (n % 2 != 0 && (n >= 5 && n <= 99)) {
while (row <= n) {
col = 1;
while (col <= n) {
if ((row == 1) && (col == 1 || col >= n / 2 + 1)) {
System.out.print("* “);
} else if ((row == n) && (col == n || col <= n / 2 + 1)) {
System.out.print(”* “);
} else if ((col == 1) && (row == 1 || row <= n / 2 + 1)) {
System.out.print(”* “);
} else if ((col == n) && (row == n || row >= n / 2 + 1)) {
System.out.print(”* “);
} else if (row == n / 2 + 1 || col == n / 2 + 1) {
System.out.print(”* “);
} else {
System.out.print(” “);
}
col++;
}
row++;
System.out.println(”");
}
}
}
}