Magic square is the square array of positive integers that the sums of the numbers in each row, each column, and both main diagonals are the same.

We can give you a n x n magic square, the value n is expected to be in [3, 100].

Input an integer n in [3, 100]:

Stylize Your Code
: You can use the tool to stylize your code.

X
A prohibited operation