/**
 * COSC 60 Demo #5
 * Nested loops form a triangle of characters.
 * @author Dennis Brylow
 * @version 1.0,  &nbsp; 2008 Sep 15
 */

import java.util.Scanner;

class Triangle
{
	public static void main(String[] args)
	{
		Scanner keyboard = new Scanner(System.in);

		int n;

		n = keyboard.nextInt();

		for (int row = 1; row <= n; row++)
		{
			for (int col = n; col >= row; col--)
			{
				System.out.print(" *");
			}
			System.out.println();
		}
	}
}

