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