Pattern 11
easy
1. You are given a number n. 2. You've to create a pattern as shown in output format.
Constraints
1 <= n <= 44
Format
Input
A number n
Output
Example
Sample Input
5
Sample Output
1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
Question Video