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

Video Converter
: You can use the tool to convert videos between a few of formats.

X
A prohibited operation