1522: 螺旋方阵

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:4 Solved:3

Description

螺旋方阵

Input

一个整数n(0<n<10)

Output

一个n行方阵,每行n个数,每个数场宽为3

Sample Input Copy

5

Sample Output Copy

     1      2      3      4     5
   16    17    18    19     6
   15    24    25    20     7
   14    23    22    21     8
   13    12    11    10     9