#include <iostream>
using namespace std;
int main()
{ 
    int i , n , s;
    cin >> n ;
    s = n;
    i = 0;

    while ( i < n )
    {  
         int j = 0;
         while ( j < s )
         {   
            cout << "*";
            j ++;
         }

        cout<< '\n';
        i ++;
        s --;

    }





    return 0;
}