5
0 -1 1 1 1
1 0 1 1 1
1 1 0 -10 1
20 20 20 0 20 20
1 1 1 1 0