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

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

print(min(c,b//a))