Олимпиадный тренинг

Задача 37051. 12.25 and


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
 20 19 18 17 16
 15 14 13 12 11
 10 9 8 7 6
  5 4 3 2 1