X,Y,Z=list(map(int,input().split()))

ans=0

K=Z

while(True):

    if K+Y+Z>X:

        break

    K+=Y+Z

    ans+=1

print(ans)
X,Y,Z=list(map(int,input().split()))

A=X-Z

ans=A//(Y+Z)

print(ans)

X, Y, Z = list(map(int, input().split()))
ans = 0
K = Z
while True:
    if K + Y + Z > X:
        break
    K += Y + Z
    ans += 1
print(ans)

X, Y, Z = list(map(int, input().split()))
A = X - Z
ans = A // (Y + Z)
print(ans)

-ans = 0 -K = Z -while True: -    if K + Y + Z > X: -        break -    K += Y + Z -    ans += 1 +A = X - Z +ans = A // (Y + Z)