

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



nu=(x[0]-x[2]) % (x[1]+x[2])

res=(x[0]-x[2]-nu) / (x[1]+x[2])

print((int(res)))

    

    

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



x=x-z

y=y+z



print(x/y)
x = list(map(int, input().split()))
nu = (x[0] - x[2]) % (x[1] + x[2])
res = (x[0] - x[2] - nu) / (x[1] + x[2])
print((int(res)))

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

-x = list(map(int, input().split())) -nu = (x[0] - x[2]) % (x[1] + x[2]) -res = (x[0] - x[2] - nu) / (x[1] + x[2]) -print((int(res))) +x, y, z = list(map(int, input().split())) +x = x - z +y = y + z +print(x / y)