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