Олимпиадный тренинг

Задача 34768. Ladder


Задача

Темы: Вложенные циклы

Given a natural number n<=9. Output a ladder from n steps, i-th step consists of numbers from 1 to i without spaces.

Input
Enter a natural number.
 
Imprint 
Print the answer to the problem.
 
Examples
# Input Output
1 3 1
12
123