a,b,c = map(int, input().split())

n = 0

for i in range(c + 1):
    if n < c and b - a >= 0:
        b = b - a
        n = n + 1
    else:
        print(n)
        break a,b,c = map(int, input().split()) a map(int, input().split()) map int input().split() ().split () input split b c n = 0 n 0 for i in range(c + 1):
    if n < c and b - a >= 0:
        b = b - a
        n = n + 1
    else:
        print(n)
        break i range(c + 1) range c + 1 c 1 if n < c and b - a >= 0:
        b = b - a
        n = n + 1
    else:
        print(n)
        break n < c and b - a >= 0 n < c n c b - a >= 0 b - a b a 0 b = b - a b b - a b a n = n + 1 n n + 1 n 1 print(n) print n break b,c = map(int, input().split()) map(int, input().split()) b n = 0 0 n b = b - a b - a b a,b,c = map(int, input().split()) map(int, input().split()) a n = n + 1 n + 1 n c = map(int, input().split()) map(int, input().split()) c
a,b,c = map(int, input().split())

n = 0

for i in range(c + 1):
    if n < c and b - a >= 0:
        b = b - a
        n = n + 1
    else:
        print(n)
        break