// 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 = n;
	int c = 0;
	for (; n > 0; n--)
	{
		
		for (int d = 0; c > d; d++) {
			cout << " ";
		}
		c++;
		
		for (int b = 0; n > b; b++)
		{
			cout << "*";
		}
		cout << "\n";

	}
	return 0;
}