6 4
aaabbb
1 3
1 6
2 4
3 6
