#include <iostream>

using namespace std;

int main(){

    int n; 
    cin >> n;
    int x = 0;
    int z = n-1;
    for(int i = 0; i < n; i++){

        for(int space = 0 ; space < z; space++){
            cout << " ";
        }

        for(int j = 0 ; j <= x; j++){
            cout << "*";
        }

        x++;
        z--;
        cout << "\n";
    }

    return 0;
}