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

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

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