a, b, c = map(int, input().split())
cnt = 0
while cnt < c and a <= b:
    b -= a
    cnt += 1
print(cnt) a, b, c = map(int, input().split()) a map(int, input().split()) map int input().split() ().split () input split b c cnt = 0 cnt 0 while cnt < c and a <= b:
    b -= a
    cnt += 1 cnt < c and a <= b cnt < c cnt c a <= b a b b -= a b a cnt += 1 cnt 1 print(cnt) print cnt cnt = 0 0 cnt c = map(int, input().split()) map(int, input().split()) c cnt += 1 1 cnt b, c = map(int, input().split()) map(int, input().split()) b a, b, c = map(int, input().split()) map(int, input().split()) a b -= a a b
a, b, c = map(int, input().split())
cnt = 0
while cnt < c and a <= b:
    b -= a
    cnt += 1
print(cnt)