Medium
Number Triangle
Read n and print a triangle where row i contains the numbers 1 to i separated by spaces.
Input
One integer n ≥ 1.
Output
n lines.
Sample 1
Input
4
Output
1 1 2 1 2 3 1 2 3 4
Sample 2
Input
1
Output
1
Output appears hereOne integer n ≥ 1.
n lines.
4
1 1 2 1 2 3 1 2 3 4
1
1
Output appears here