Create a two-dimensional array of size n×m and fill it with natural numbers from 1 to n >xm vertically (see example).
Input
Two natural numbers are given: n and m, not exceeding 1010.
Output
Output a filled two-dimensional array
Examples
| # |
Input |
Output |
| 1 |
3 4
|
1 4 7 10
2 5 8 11
3 6 9 12
|