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