Run id: 137408

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