Introduction - If you have any usage issues, please Google them yourself
Input: The input includes multiple test sets, each one being the odd behavior of N (1 < = N < 10), 0 as the end of the input and does not require treatment. Output: For each input N, N it corresponds to the output of a magic square, if there is more than one, any one can. Sample Input 1 3 0 Sample Output 1 4 9 2 3 5 7 8 1 6