#include <iostream>
using namespace std;
int main()
{
int i , n , s , o ;
cin >> n;
i = 0;
s = 1;
n = o++;
while ( i < n )
{
int h = 0;
while ( h < o )
{
cout <<" ";
h ++;
}
int j = 0;
while (j < s)
{
cout << "*";
j ++;
}
cout << '\n';
i ++;
o --;
s ++;
}
return 0;
}