10 5
aaaaabbbbb
1 10
1 5
6 10
3 7
4 9
