Run id: 6297

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