2
16
1 2 3
3 2 1
0 0 0
9 0 0
4 5 6
5 6 4
0 9 0
0 0 0
6 5 4
4 6 5
0 0 0
0 0 0
0 0 9
0 0 0
0 0 0
8 8 8
