e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Week 1: November 2 – 8. Introduction to C language. Part 1

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?

Input

Three positive integers a, b, c.

Output

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