An ATM charges Rs. X for each withdrawal. Given initial amount A, find the maximum number of successful withdrawals as the output that can be made when each time Rs. Y is withdrawn.
Boundary Condition(s):
1 <= A, X, Y <= 999999999
Input Format:
The first line contains the amount A, withdrawal charges X and withdrawal amount Y separated by spaces.
Output Format:
The first line contains the count of successful withdrawals.
Example Input/Output 1:
Input:
150 20 40
Output:
2
Example Input/Output 2:
Input:
100 10 10
Output:
5