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

      while ( i < n )
      {

                int h = 0;
                while ( h < o )
                {
                  
                      cout << " ";
                      h ++;
                }
            
                int j = 0;
                while ( j < s )
                {

                      cout << "*";
                      j ++;
                }
            
            cout << '\n';
            i ++;
            s ++;
            o --;
      }

      return 0;
}