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