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(" ");
}
for (int d = 0; d < a-b; d++)
{
printf("* ");
}printf("\n");
}
}return 0;
}