Problem:


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



Sample input:
13 3 1


Sample output:
3

Submission status: Runtime Error

Solution code:
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8

import math
import re
import sys
 
args = sys.argv

if __name__ == "__main__":
	X = args[1]
	Y = args[2]
	Z = args[3]
	# 人数
	a = (X-Z)/(Y+Z)

	int(a)

Submission status: Runtime Error

Solution code:
X, Y, Z = map(int, input().split())
ans = 1
length = Y+2Z
while True:
    if length > X:
        print(ans)
        break
    ans += 1
    length += Y+Z

Submission status: Runtime Error

Solution code:
X, Y, Z = map(int, input().split())
ans = 1
length = Y+2Z
while True:
    if length > X:
        print(ans)
        break
    count += 1
    length += Y+Z

Submission status: Runtime Error

Solution code:
x,y,z = list(map(int,input().split()))
ans = x//(y+z)
num = x%(y+z)
if num => y:
    ans+=1
print(ans)

Submission status: Runtime Error

Solution code:
X, Y, Z =  list(map(int, input().split()))
pritn((X-Z)//(Y+Z))

Submission status: Runtime Error

Solution code:
x,y,z=map(int,input().split())

n=0
while(1):
    if(n*y+(n+1)*z>x):
        break
    n+=1

return(n)

Submission status: Runtime Error

Solution code:
x,y,z=input().split()
a=x//(y+z)
b=x%(y+z)
if b>=z:
  print(a)
else:
  print(a-1)

Submission status: Runtime Error

Solution code:
X,Y,Z = map(int,input.split(" "))
ans = (X-Z)//(Y+Z)
print(ans)

Submission status: Runtime Error

Solution code:
X, Y, Z = map(int, input().split())
print((X-Z)/Y)

Submission status: Runtime Error

Solution code:
list = input().split()
x,y,z = list[0],list[1],list[2]
x -= z * 2
num = x % (y+z)
if num >= y:
    print((x//(y+z))+1)
else:
    print(x//(y+z))

Submission status: Runtime Error

Solution code:
X = input(); Y = input(); Z = input()
print((X-Z)/Y)

Submission status: Runtime Error

Solution code:
list = input().split()
x,y,z = list[0],list[1],list[2]
num = x%(y+z)
if num >= y:
    print((x/(y+z))+1)
else:
    print(x/(y+z))

Submission status: Runtime Error

Solution code:
jj