Run id: 64816

------Input------
1 999999
------Answer-----
499120
------Your output-----
561599