Run id: 116762

------Input------
459 2 1
------Answer-----
458
------Your output-----
459