#入力:N,M(int:整数)
def input2():
	return map(int,input().split())

a,b,c=input2()
if b//a >= c:
	print(c)
else:
	print(b//a) def input2():
	return map(int,input().split()) input2 return map(int,input().split()) map(int,input().split()) map int input().split() ().split () input split a,b,c=input2() a input2() input2 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 a,b,c=input2() input2() a def input2():
	return map(int,input().split()) def input2():
	return map(int,input().split()) input2 b,c=input2() input2() b c=input2() input2() c
#入力:N,M(int:整数)
def input2():
	return map(int,input().split())

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