#include<stdio.h>
int main()
{
    int n,i,j,k;
     while (scanf("%d", &n) != EOF) {
        for ( i = n; i>0; i--) {
            for(k=1;k<=n-i;k++)
            {
                printf(" ");
            }
            for ( j = i; j>0; j--) {  
                printf("* ");
            }
         
            printf("\n"); 
            
        }
    }
    

}