1206: 斜行方阵

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

Description

输入整数N,输出相应方阵。

Input

输入一个整数 n,1≤n<18。

Output

一个方阵,每个数字的场宽为4。

Sample Input Copy

5

Sample Output Copy

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