#P102. 练18.2 苹果和虫子
练18.2 苹果和虫子
Explanation
You bought a box of n apples, unfortunately a bug got mixed in when you finished. A bug can eat an apple every hours. Assuming the bug doesn't eat another apple before finishing one, how many complete apples do you have after hours?
Input format
Input only one line, including , , and (all integers).
Output format
The output is only one line, with the remaining number of apples.
Example
10 4 9
7