using System;
public class Program
{
public static void Main()
int x,y,n,k;
n = Convert.ToInt32(Console.ReadLine());
k = n / 2;
for(int i = 0; i < n; i++)
for(int j = 0; j < n; j++)
x = i;
y = j;
if(i > k) x = n - 1 - x;
if(j > k) y = n - 1 - y;
if(x + y == k || x != 0 || y != 0)
Console.Write("*");
else
Console.Write(" ");
Console.Write("\n");
}