#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
int star = n;
int space = 0;
for ( int i = 0 ; i < n ; i++ )
{
for ( int j = 0 ; j < space ; j++ )
{
cout << " ";
}
for ( int k = 0 ; k < star ; k++ )
{
cout << "*";
}
space++;
star--;
cout << endl;
}
return 0;
}