5 0
01001
1 2
1 5
