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

n = b // a

print(min(n, c)) 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 n = b // a n b // a b a print(min(n, c)) print min(n, c) min n c n = b // a b // a n 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()]

n = b // a

print(min(n, c))
