input output

2 11
_______ 20
_______ 35
7 26
15 50
5 23

how do i solve this?