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