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

n<=9

n

i

1

1000 ms 256 Mb Rules for program design and list of errors in automatic problem checking