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

X -= Y+2*Z

answer = 1

while X >= Y+Z :

    X -= Y+Z

    answer += 1

print(answer)

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

answer = 0

X -= Y+2*Z

answer += 1

answer += X//(Y+Z)

print(answer)

X, Y, Z = list(map(int, input().split()))
X -= Y + 2 * Z
answer = 1
while X >= Y + Z:
    X -= Y + Z
    answer += 1
print(answer)

X, Y, Z = list(map(int, input().split()))
answer = 0
X -= Y + 2 * Z
answer += 1
answer += X // (Y + Z)
print(answer)

+answer = 0 -answer = 1 -while X >= Y + Z: -    X -= Y + Z -    answer += 1 +answer += 1 +answer += X // (Y + Z)