#CCBCHBA0000098. Tam giác dấu sao trái (Left Star Triangle)

Tam giác dấu sao trái (Left Star Triangle)

Left Star Triangle

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

Given nn, print nn rows of *; row ii (1-indexed) contains exactly ii consecutive asterisks, with no spaces.

Input

One line contains integer nn.

Output

Print exactly nn rows, row ii consisting of ii asterisks.

Subtasks

  • Subtask 1 (20%): 1≤n≤31\le n\le 3.

  • Subtask 2 (30%): 1≤n≤151\le n\le 15.

  • Subtask 3 (50%): 1≤n≤1001\le n\le 100.

Examples

Example 1

Input:

4

Output:

*
**
***
****

Explanation:

The number of stars on row i is i. For this sample, the input is 4; the displayed rows follow these rules exactly.

Example 2

Input:

1

Output:

*

Explanation:

The number of stars on row i is i. For this sample, the input is 1; the displayed rows follow these rules exactly.