#include <stdio.h>

int main()
{
    int n;
    while(scanf("%d", &n) != -1)
    {
        for (int i = 0; i < n ; i++)
        {
            for (int j = 1; j < n - i; j++)
            {
                printf("  ");
            }
            for (int k = 0; k < i + 1; k++)
            {
                printf("* ");
            }
            printf("\n");
        }
    }//实际上就是前两道题的结合
    return 0;
}