#include <iostream>

using namespace std;

int main()
{
	int n; cin >> n;
	int x=0; 
	
	int i = 0;
	while (i < n)
	{
		int a=x+1;
		while (a <= n && a>0)
		{
			cout << "*";
			a=a-1;
		}
		cout <<"\n";
		x++;
		i++;
	}	

	

	return 0;
}