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

ans = 0

X -= Z

while Y+Z <= X:

    X -= Y+Z

    ans += 1

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

print(((X - Z) // (Y + Z)))
X, Y, Z = list(map(int, input().split()))
ans = 0
X -= Z
while Y + Z <= X:
    X -= Y + Z
    ans += 1
print(ans)

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

-ans = 0 -X -= Z -while Y + Z <= X: -    X -= Y + Z -    ans += 1 -print(ans) +print(((X - Z) // (Y + Z)))