EasyRating 900
Diagonal Difference
For a square grid, print the absolute difference between the sum of the main diagonal and the sum of the other diagonal.
Input
n, then n rows of n integers.
Output
One integer.
Sample 1
Input
3 11 2 4 4 5 6 10 8 -12
Output
15
Sample 2
Input
1 7
Output
0
Output appears here