Input matrix size print special matrix
The input sample 8
O
64 63 62 61 60 58 59 57
37, 38 39, 40 and 42 and 43, 56
36 and 35 and 31 32 33 44 55
17 18 19 20 and 30 to 45 54
13 14 15 16 22 and 46 53
5 6 7 of 12 23 to 28 47 52
4 3 8 November 24 and 48 51
1, 2, 9 10 of 25 26 49 50