// meow.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
int a = 0;
int c = 1;
for (; n > a; n--) {
for (int b = n - 1; b > 0; b--) {
cout << " ";
}
for (int d = 0; c > d; d++) {
cout << "*";
}
c++;
cout << "\n";
}
return 0;
}