#C7561. Print Number Pattern

    ID: 51446 Type: Default 1000ms 256MiB

Print Number Pattern

Given a positive integer \(N\), print a number pattern where each row \(i\) contains \(i\) consecutive numbers starting from 1. The numbers are arranged in increasing order and each number in a row is separated by a single space.

For example, if \(N = 4\), the output should be:

1
2 3
4 5 6
7 8 9 10

Make sure that the output does not contain any extra spaces or blank lines.

inputFormat

The input consists of a single integer \(N\) provided on stdin.

outputFormat

The output is the number pattern printed to stdout following the rules described above.

## sample
1
1