a, b, c = [int(x) for x in input().split()]
print(c if b//a > c else 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 print(c if b//a > c else b//a) print c if b//a > c else b//a b//a > c b//a b a c c b//a b a c = [int(x) for x in input().split()] [int(x) for x in input().split()] c b, c = [int(x) for x in input().split()] [int(x) for x in input().split()] b 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()]
print(c if b//a > c else b//a)
