public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNextInt()){
int i = sc.nextInt();
int k = 2*(i-1);
for(int j = 0;j<i;j++){
for(int n = 0;n<k;n++){
System.out.printf(" ");
}
for(int x = 0;x<=j;x++)
{
System.out.printf("* ");
}
System.out.printf("\n");
k = k-2;
}
}
}
}
// *
// * *
// * * *
// * * * *
//* * * * *