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