#include <iostream>
#include <iomanip>

using namespace std;

int main()
{
    int n;
    int i, j, k;
    while (cin >> n)
    {
        for (i = 0; i < n; i++)
        {
            for (j = 0; j < n - i - 1; j++)
            {
                cout << "  ";
            }
            for (k = n - i - 1; k < n; k++)
            {
                cout<< "* ";
            }
            cout << endl;
        }
    }
}