Run id: 5174

------Input------
7 39
------Answer-----
6
------Your output-----
18