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