#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
int fasele;
fasele = n-1;
int star;
star = 1;
int i;
i = 0;
while (n > i){
int q;
q = 0;
while (fasele > q){
cout << " ";
q++;
}
int t;
t = 0;
while (star > t){
cout << "*";
t++;
}
cout << "\n";
i++;
fasele--;
star++;
}
return 0;
}