#include <stdio.h>
/*

* * * * * 
 * * * * 
  * * * 
   * * 
    * 


*/
int main()
{
    int i = 0;
    int n = 0;
    int j = 0;
    int tmp  = 0;
    while(scanf("%d",&n)!=EOF)
    {
         tmp = n;
        for(i = 1;i <= n;i++)
        {
            for(j = 1;j<i;j++)
            {
                printf(" ");
            }
            for(j = 1;j<=tmp;j++)
            {
                printf("* ");
            }

            printf("\n");
            tmp--;
        }
    }
    return 0;
}