import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while(in.hasNext()) {
            int n = in.nextInt();
            for (int i = n - 1; i >= 0; i--) {
                String s = "";
                for (int j = 1; j <= i; j++) {
                    s += " ";
                }
                System.out.println(s+"*");
            }
        }
    }
}