PROGRAMMING:Rubik's Cube
Title Description
Output Rubik's cube. The so-called magic square matrix means that the sum of every row, column and diagonal of the matrix is equal.
For example:
8 1 6
3 5 7
4 9 2
###Input format:
Enter an integer n, 1 < = n < = 15.
###Output format:
Output results, each number takes up 5 fields wide.
###Input example:
Here is a set of inputs. For example:
```in
three
```
###Output example:
The corresponding output is given here. For example:
```out
8 1 6
3 5 7
4 9 2
```
answer:If there is no answer, please comment
Output Rubik's cube. The so-called magic square matrix means that the sum of every row, column and diagonal of the matrix is equal.
For example:
8 1 6
3 5 7
4 9 2
###Input format:
Enter an integer n, 1 < = n < = 15.
###Output format:
Output results, each number takes up 5 fields wide.
###Input example:
Here is a set of inputs. For example:
```in
three
```
###Output example:
The corresponding output is given here. For example:
```out
8 1 6
3 5 7
4 9 2
```
answer:If there is no answer, please comment