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