#include<iostream>
using namespace std;
int main()
{
int h;//记录梯形高度
int i;
int j;
while(cin >> h)
{
for(i =0 ; i <h; i++)
{
//输出空格
for(j=h+2*(h-1);j>h+2*i; j--)
{
cout<< " ";
}
//输出*
for(j=0;j <2*i+h; j++)
{
cout <<"*";
}
cout <<endl;
}
}
return 0;
}
/**************************************************************
Problem: 1065
User: itswyy
Language: C++
Result: Accepted
Time:200 ms
Memory:1520 kb
****************************************************************/