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