import java.util.Scanner;
public class PrintDemoSecond {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int rows = 6 ;
for(int i = 1 ; i <= rows ; i++) {
for(int j = rows - 1 ; j >= i ; j--) {
System.out.print(" ");
}
//executed
for(int j = 1 ; j <= i*2-1 ; j++) {
System.out.print("*");
}
System.out.println();
}
}
}