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



num = 0



for i in range(1, 100000):

    if X < i * Y + (i - 1) * Z + 2 * Z:

        break

    num = i



print(num)

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



for i in range(1, 100000):

    if X < i * Y + (i - 1) * Z + 2 * Z:

        break



print((i - 1))

X, Y, Z = list(map(int, input().split()))
num = 0
for i in range(1, 100000):
    if X < i * Y + (i - 1) * Z + 2 * Z:
        break
    num = i
print(num)

X, Y, Z = list(map(int, input().split()))
for i in range(1, 100000):
    if X < i * Y + (i - 1) * Z + 2 * Z:
        break
print((i - 1))

-num = 0 -    num = i -print(num) +print((i - 1))