Run id: 116214

------Input------
5 3
------Answer-----
3
------Your output-----
2