int main()
{
int a;
while ((scanf("%d",&a)) != EOF)
{
while (a >= 1)
{
for (int b = 0; b < a; b++)
{
printf ("* ");
}
a--;
printf ("\n");
}
}
return 0;
}