Run id: 6296

------Input------
596 99
------Answer-----
8
------Your output-----
7