include<stdio.h>
int main()
{
int a = 0;
while (~scanf("%d", &a))
{
for (int i = 0; i < a; i++)
{
for (int b=0; b < a - 1-i; b++)
{
printf(" ");
}
for (int c = 0; c <= i; c++)
{
printf("* ");
}printf("\n");
}
}return 0;
}