Description
Input an integer N and output the corresponding square matrix.
Input Format
Input an integer n, where 1≤n≤18.
Output Format
A square matrix where each number has a field width of 4.
Sample
5
17 18 19 20 21
10 11 12 13 22
5 6 7 14 23
2 3 8 15 24
1 4 9 16 25