Numbers n and m are given. Create an array A[n][m] and fill it as shown in the example.
Input: The program receives two numbers n and m as input.
Output: The program should output the resulting array, putting exactly 3 characters for each number.
Examples
# |
Input |
Output |
1 |
4 5 |
16 17 18 19 20
11 12 13 14 15
6 7 8 9 10
1 2 3 4 5
|