A, B, C = [int(x) for x in input().split()]
print(min(C, B // A)) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x A, B, C = [int(x) for x in input().split()] A [int(x) for x in input().split()] B C print(min(C, B // A)) print min(C, B // A) min C B // A B A C = [int(x) for x in input().split()] [int(x) for x in input().split()] C B, C = [int(x) for x in input().split()] [int(x) for x in input().split()] B A, B, C = [int(x) for x in input().split()] [int(x) for x in input().split()] A
A, B, C = [int(x) for x in input().split()]
print(min(C, B // A))
