A beauty in mathematics.
You have just recently written a mathematics exam. Your professor, Prof. Snew, is very nice and likes to adjust the marks so that his students' grades are higher.
The exam is initially out of marks. Prof. Snew does the following to calculate a student's new mark:
Suppose the raw mark is . Then, add marks to the raw mark, and make the exam out of marks. That is, the final mark is .
You now wonder to yourself, what is the minimum raw exam mark required to pass (at least ) after adjustment?
Input Specification
The first line of input will contain three integers, , , and .
Output Specification
Output a single integer between and , the minimum raw exam mark required to pass. If it is impossible to pass, output have mercy snew
instead.
Sample Input
50 32 80
Sample Output
16
Comments
If you are getting WA, remember that floating point errors exist