A, B, C = map(int, input().split())

if (A*C <= B):
	print(C)
else:
	ans = int(B/A)
	print(ans) A, B, C = map(int, input().split()) A map(int, input().split()) map int input().split() ().split () input split B C if (A*C <= B):
	print(C)
else:
	ans = int(B/A)
	print(ans) A*C <= B A*C A C B print(C) print C ans = int(B/A) ans int(B/A) int B/A B A print(ans) print ans C = map(int, input().split()) map(int, input().split()) C A, B, C = map(int, input().split()) map(int, input().split()) A ans = int(B/A) int(B/A) ans B, C = map(int, input().split()) map(int, input().split()) B
A, B, C = map(int, input().split())

if (A*C <= B):
	print(C)
else:
	ans = int(B/A)
	print(ans)