khem

2
8 4
1 2 0
1 3 1
1 6 1
3 4 0
3 5 1
4 7 1
4 8 1
6 3
1 2 0
1 3 0
2 4 0
2 5 1
3 6 1
Vivek Parashar