#include <stdio.h>

int main() {
    int a;
    while (scanf("%d", &a) != EOF) {
        int i;
        for (i = 0; i < a; i++) {
            int j, k;
            for (j = i; j < a - 1; j++)//先打空格
                printf("  ");
            for (k = 0; k <= i ; k++)//再打*
                printf("* ");
            printf("\n");
        }
    }
    return 0;
}