#include <iostream>

using namespace std;

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

	

	return 0;
}