x, y, z = list(map(int, input().split()))



n = 1



while True:

    if y * n + z * (n+1) <= x:

        n += 1

    else:

        print((n-1))

        break
x, y, z = list(map(int, input().split()))



s = z

cnt = 0

while True:

    s += y + z

    if s > x:

        break

    cnt += 1



print(cnt)

x, y, z = list(map(int, input().split()))
n = 1
while True:
    if y * n + z * (n + 1) <= x:
        n += 1
    else:
        print((n - 1))
        break

x, y, z = list(map(int, input().split()))
s = z
cnt = 0
while True:
    s += y + z
    if s > x:
        break
    cnt += 1
print(cnt)

-n = 1 +s = z +cnt = 0 -    if y * n + z * (n + 1) <= x: -        n += 1 -    else: -        print((n - 1)) +    s += y + z +    if s > x: +    cnt += 1 +print(cnt)