

Time Limit: 2 sec / Memory Limit: 256 MB
配点 : 200 点
問題文
幅 X センチメートルの椅子があります。 この椅子に座りたい人がたくさんおり,人は椅子に座ると必ず Y センチメートルの幅を使って座ります。
出来る限りたくさんの人を椅子に座らせたいですが, 人はみなシャイなので,人と人の間,また椅子の端と人の間には, 少なくとも Z センチメートル間を開ける必要があります。
最大で何人座ることができますか?
制約
- 入力は全て整数
- 1 \leq X, Y, Z \leq 10^5
- Y+2Z \leq X
入力
入力は以下の形式で標準入力から与えられる。
X Y Z
出力
求めた答えを出力してください。
入力例 1
13 3 1
出力例 1
3
下図のように座れば,ぴったし 3 人座ることが出来ます。

図
入力例 2
12 3 1
出力例 2
2
入力例 3
100000 1 1
出力例 3
49999
入力例 4
64146 123 456
出力例 4
110
入力例 5
64145 123 456
出力例 5
109
Score : 200 points
Problem Statement
We have a long seat of width X centimeters. There are many people who wants to sit here. A person sitting on the seat will always occupy an interval of length Y centimeters.
We would like to seat as many people as possible, but they are all very shy, and there must be a gap of length at least Z centimeters between two people, and between the end of the seat and a person.
At most how many people can sit on the seat?
Constraints
- All input values are integers.
- 1 \leq X, Y, Z \leq 10^5
- Y+2Z \leq X
Input
Input is given from Standard Input in the following format:
X Y Z
Output
Print the answer.
Sample Input 1
13 3 1
Sample Output 1
3
There is just enough room for three, as shown below:

Figure
Sample Input 2
12 3 1
Sample Output 2
2
Sample Input 3
100000 1 1
Sample Output 3
49999
Sample Input 4
64146 123 456
Sample Output 4
110
Sample Input 5
64145 123 456
Sample Output 5
109