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