2 10 120
5 6 1 0
8 9 1 0
7 4 1 0
4 9 1 0
7 8 1 0
9 10 1 0
2 3 1 0
1 3 1 0
2 1 1 0
8 5 1 0
8 1 1 0
2 9 1 0
6 4 1 0
7 8 1 0
8 6 1 0
10 2 1 0
6 10 1 0
2 10 1 0
2 10 1 0
6 3 1 0
9 10 1 0
2 8 1 0
4 8 1 0
4 2 1 0
1 7 1 0
8 7 1 0
5 6 1 0
10 6 1 0
9 8 1 0
4 2 1 0
10 10 1 0
4 5 1 0
4 7 1 0
7 4 1 0
10 10 1 0
9 4 1 0
6 6 1 0
7 3 1 0
2 7 1 0
3 1 1 0
8 7 1 0
9 4 1 0
6 9 1 0
8 9 1 0
8 1 1 0
8 9 1 0
10 2 1 0
1 7 1 0
4 8 1 0
2 9 1 0
2 1 1 0
7 3 1 0
2 7 1 0
9 1 1 0
1 2 1 0
2 9 1 0
3 5 1 0
6 10 1 0
8 9 1 0
2 10 1 0
3 5 1 0
8 3 1 0
9 1 1 0
1 3 1 0
7 8 1 0
2 9 1 0
2 5 1 0
4 4 1 0
8 1 1 0
6 10 1 0
4 3 1 0
2 8 1 0
2 8 1 0
9 8 1 0
6 4 1 0
5 6 1 0
2 10 1 0
4 8 1 0
4 1 1 0
6 2 1 0
7 8 1 0
2 5 1 0
4 3 1 0
4 7 1 0
2 5 1 0
2 3 1 0
6 6 1 0
10 10 1 0
10 6 1 0
9 4 1 0
9 1 1 0
4 3 1 0
6 9 1 0
4 6 1 0
2 1 1 0
2 10 1 0
4 3 1 0
1 2 1 0
1 7 1 0
8 5 1 0
6 4 1 0
7 8 1 0
7 3 1 0
1 2 1 0
4 3 1 0
9 10 1 0
6 9 1 0
9 4 1 0
2 10 1 0
2 10 1 0
5 6 1 0
9 1 1 0
6 2 1 0
10 2 1 0
1 2 1 0
4 2 1 0
8 7 1 0
2 7 1 0
1 7 1 0
8 3 1 0
2 2
9 9
