// Arup Guha
// 10/28/2017
// Solution to Junior Knights Loop Practice Program: Triangle Printing

import java.util.*;

public class triangle {
	
	public static void main(String[] args) {
		
		// Get the parameters of the sequence.
		Scanner stdin = new Scanner(System.in);
		System.out.println("Enter a positive integer.");
		int n = stdin.nextInt();

		
		// Go through each row.
		for (int i=1; i<=n; i++) {
			
			// Print i stars on this row.
			for (int j=0; j<i; j++)
				System.out.print("*");
				
			// Go to the next row.
			System.out.println();
		}
	}
}