package cruxonline.patterns;
import java.util.Scanner;
public class Pattern13 {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc=new Scanner(System.in);
int row=sc.nextInt();
row=row*2-1;
int temp=(row/2)+1;
for(int i=1;i<=row;i++){
if (i<=row/2){
for(int j=1;j<=i;j++){
System.out.print("*");
}
System.out.println();
}
else{
for(int k=1;k<=temp;k++){
System.out.print("*");
temp--;
}
System.out.println();
}
}
}
}