LCC '25 Contest 1 J1 - Bob the Ghost
View as PDFBob the ghost has recently been going out to spook trick-or-treaters! Today, Bob has decided to target one poor victim with  candies. Bob spooks the victim 
 times, and each time the target is spooked, they lose 
 candies. How many candies does Bob's victim have left by the end of the day?
Input Specification
There will be  line of input containing three space-separated integers 
.
Output Specification
Output one integer, indicating the number of candies that the victim keeps.
Constraints
Sample Input
15 3 4Sample Output
3Sample Explanation
Bob's victim starts with  candies, and loses 
 candies, leaving 
 candies left over.
Comments