2
1 100
200 1000
3
100 200
1000 2000
3000 4000
