A, B, C = map(int, input().split())

count = 0
A_org = A
A = 0
for i in range(1000):
    if count < C:
        if A + A_org <= B:
            A += A_org
            count += 1
        else:
            break
    else:
        break
    
print(count) A, B, C = map(int, input().split()) A map(int, input().split()) map int input().split() ().split () input split B C count = 0 count 0 A_org = A A_org A A = 0 A 0 for i in range(1000):
    if count < C:
        if A + A_org <= B:
            A += A_org
            count += 1
        else:
            break
    else:
        break
     i range(1000) range 1000 if count < C:
        if A + A_org <= B:
            A += A_org
            count += 1
        else:
            break
    else:
        break
     count < C count C if A + A_org <= B:
            A += A_org
            count += 1
        else:
            break
     A + A_org <= B A + A_org A A_org B A += A_org A A_org count += 1 count 1 break break print(count) print count B, C = map(int, input().split()) map(int, input().split()) B count += 1 1 count C = map(int, input().split()) map(int, input().split()) C count = 0 0 count A, B, C = map(int, input().split()) map(int, input().split()) A A = 0 0 A A_org = A A A_org A += A_org A_org A
A, B, C = map(int, input().split())

count = 0
A_org = A
A = 0
for i in range(1000):
    if count < C:
        if A + A_org <= B:
            A += A_org
            count += 1
        else:
            break
    else:
        break
    
print(count)