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