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

total = a * c

if b >= total:
    print(c)
else:
    print(b // a) a, b, c = map(int, input().split()) a map(int, input().split()) map int input().split() ().split () input split b c total = a * c total a * c a c if b >= total:
    print(c)
else:
    print(b // a) b >= total b total print(c) print c print(b // a) print b // a b a c = map(int, input().split()) map(int, input().split()) c b, c = map(int, input().split()) map(int, input().split()) b total = a * c a * c total a, b, c = map(int, input().split()) map(int, input().split()) a
a, b, c = map(int, input().split())

total = a * c

if b >= total:
    print(c)
else:
    print(b // a)