A,B,C = [int(i) for i in input().split()]
if A*C <= B:
    print(C)
else:
    print(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 if A*C <= B:
    print(C)
else:
    print(B//A) A*C <= B A*C A C B print(C) print C print(B//A) print 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()]
if A*C <= B:
    print(C)
else:
    print(B//A)