eolymp
bolt
Try our new interface for solving problems
Problems

Professor and batteries

Professor and batteries

There are some packs of batteries on the Professor's table. There are $a$ batteries in each pack. When the Professor took $b$ batteries from each pack, only $c$ batteries remained on the table. How many packs of batteries were on the table? \InputFile Three positive integers $a, b, c$. \OutputFile Print the number of packs with batteries on the table.
Time limit 1 second
Memory limit 128 MiB
Input example #1
6 3 15
Output example #1
5