a, b, c = [int(i) for i in input().split()]

if b > a*c:
    print(c)
else:
    print(b//a) int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i a, b, c = [int(i) for i in input().split()] a [int(i) for i in input().split()] b c if b > a*c:
    print(c)
else:
    print(b//a) b > a*c b a*c a c print(c) print c print(b//a) print b//a b a a, b, c = [int(i) for i in input().split()] [int(i) for i in input().split()] a b, c = [int(i) for i in input().split()] [int(i) for i in input().split()] b c = [int(i) for i in input().split()] [int(i) for i in input().split()] c
a, b, c = [int(i) for i in input().split()]

if b > a*c:
    print(c)
else:
    print(b//a)