Adapted by Neilor Tonin, URI Brazil
Read an integer N that is the size of a bidimentional array that must be printed like the given example.
The input contains many test cases and ends with EOF. Each test case consist in a integer number N (3 ≤ N < 70), that indicates the size (lines and columns) of a bidimentional array that must be printed.
For each N read, print the output according to the given example.
Sample Input | Sample Output |
4 7 |
1332 3123 3213 2331 1333332 3133323 3313233 3332333 3323133 3233313 2333331 |