Run id: 7017

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