Run id: 117253

------Input------
5 1 12
------Answer-----
0
------Your output-----
-7