#include<stdio.h>
int main()
{
    int n, i, c;
    while (scanf("%d", &n) != EOF)
    {
        i = 1;
        for (i = 1; i <= n; i++)
        {
            for (c = 1; c <= i; c++)
            {
                if (c == i)
                    printf("*\n");
                else
                    printf(" ");
            }
            c = 1;

        }
    }
    return 0;
}