In the square table find the sum of integers at the main and the secondary diagonals.
The first line contains the size of the matrix. The next lines describe a matrix . The elements of the matrix are not greater than by absolute value.
Print the sum of the integers at the main and the secondary diagonals.