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

ans=int(0)

x-=z

while x>=y+z:

    ans+=1

    x-=(y+z)



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

x-=z

print((int(x/(y+z))))
x, y, z = list(map(int, input().split()))
ans = int(0)
x -= z
while x >= y + z:
    ans += 1
    x -= y + z
print(ans)

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

-ans = int(0) -while x >= y + z: -    ans += 1 -    x -= y + z -print(ans) +print((int(x / (y + z))))