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

p = y + z + z

c = 0



while p <= x:

    c += 1

    p = p + y + z



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

yz = y + z

x -= z

print((x // yz))
x, y, z = list(map(int, input().split()))
p = y + z + z
c = 0
while p <= x:
    c += 1
    p = p + y + z
print(c)

x, y, z = list(map(int, input().split()))
yz = y + z
x -= z
print((x // yz))

-p = y + z + z -c = 0 -while p <= x: -    c += 1 -    p = p + y + z -print(c) +yz = y + z +x -= z +print((x // yz))