6

0 1 1
1 0 1
0 4 1
4 0 1
0 5 1
5 0 1
1 2 1
2 1 1
2 3 1
3 2 1
2 4 1
4 2 1
3 5 1
5 3 1
4 5 1
5 4 1