import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner reader = new Scanner(System.in);
int i,t,j;
t=4;
for(i=1;i<=t;i++)
{
for(j=1;j<=2*t-1;j++)
{
if(j<=t-i)System.out.print(" ");
else if(j>=t-i&&j<=t+i-1)System.out.print("*");
}
System.out.println();
}
t=4;
for(i=t-1;i>=1;i--)
{
for(j=1;j<=t+i-1;j++)
{
if(j<=t-i)System.out.print(" ");
else System.out.print("*");
}
System.out.println();
}
reader.close();
}
}