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-i; b++)
{
printf("* ");
}
printf("\n");
}
}return 0;
}