Numbers from 1 to
n2 are written in a square matrix of size n x n in a spiral starting from the top left cell in a clockwise direction, as shown in the figure. Find a number which is located in the i-th row and j-th column.
Three natural numbers n, i, j (1 ≤ i, j ≤ n ≤ 100).
Print the number that has the coordinates i, j.
5 4 2