Run id: 6295

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