package com.company;
import java.util.Scanner;
import java.lang.String;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int num = input.nextInt();
input.close();
for (int i = 1; i <= num; i++) {
for(int j=i;j<num; j++){
System.out.print(" ");
}
for (int j =num-i; j < num-1 ; j++) {
System.out.print("**");
}
System.out.println("*");
}
}
}