#include<iostream>
using namespace std;
int main(){
int N;
cin >> N;
for (int i=1; i<=N; i++){
for (int k=1; k<=N-i; k++){
cout << " ";
}
for (int j=1; j<=i; j++){
cout << "*";
}
cout << "\n";
}
return 0;
}