In the n \times n square table, find the sum of the numbers located on the main and secondary diagonals.
The first line contains an integer n~(1 \le n \le 500). The following n \times n matrix consists of integers, each with an absolute value not exceeding 10^5.
Print the sum of the numbers on the main and secondary diagonals of the matrix.

Example 1