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]:


Tex To PDF
: convert the Latex file which suffix is tex to a PDF file

X