include<stdio.h>

main()
{int n,i,j,k,xinghao;
while(scanf("%d",&n)!=EOF)
{for(i=1;i<=n;i++)
{for(j=1;j<=n-i;j++)
{printf(" ");}
xinghao=i+i-1;
for(k=1;k<=xinghao;k++)
{printf("*");}
printf("\n");}}}