5 2
01001
2 2
4 0
