include<stdio.h>
int main()
{
int a = 0;
while (~scanf("%d", &a))
{
for (int i = 0; i < a; i++)
{
for(int b=0;b<2(a-i-1);b++)
{
printf(" ");
}
for(int c=0;c<=i;c++)
{
printf(" ");
}
printf("\n");
}
}return 0;
}