#P102. 练18.2 苹果和虫子
练18.2 苹果和虫子
Description
You bought a box of apples, but unfortunately, a worm got into the box. The worm eats one apple every hours, and it won't eat another apple until it finishes the current one. After hours, how many complete apples do you have left?
Input Format
A single line containing three integers , , and .
Output Format
A single line containing the number of remaining complete apples.
Sample
10 4 97