A. Communism

Time Limit: 1 seconds

Memory Limit: 1024 MB

Rating: 800

Problem Statement

Alice has been studying communism, and was wondering how many kilograms of rice a member of a communist nation would get per year if rice was spread evenly across the country, with a population of $M$. However, $K$ kilograms must go to the Leader before being distributed. The rice production is always $N$ kilograms per year. Here, the population does not include the Leader. Output your answer as a whole number, always rounding down (use the floor function). $1 \le K \le N, M \le 10^{12}$

Input

The first line has three space-separated integers: $N$, $M$, $K$.

Output

Output the answer.

Sample Cases
Sample Input 1:
6 2 1

Sample Output 1:
2


Sample Input 2:
37054959203 94390583 100000

Sample Output 2:
392
Explanation

For the first test case, out of the $6$kg of rice, $5$kg is being distributed, with $1$kg going to the Leader. 5kg divided evenly across $2$ people means the answer is $2.5$, and $2.5$ rounded down is $2$.

Sources

IanOJ Contest #3 (Div. 2) > Problem A

Submit | Back