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