A, B, C = [int(n) for n in input().split()]
print(C if A*C <= B else B//A)  int(n) for n in input().split() for n in input().split() n input().split() ().split () input split for n in input().split() int(n) int n A, B, C = [int(n) for n in input().split()] A [int(n) for n in input().split()] B C print(C if A*C <= B else B//A) print C if A*C <= B else B//A A*C <= B A*C A C B C B//A B A B, C = [int(n) for n in input().split()] [int(n) for n in input().split()] B A, B, C = [int(n) for n in input().split()] [int(n) for n in input().split()] A C = [int(n) for n in input().split()] [int(n) for n in input().split()] C
A, B, C = [int(n) for n in input().split()]
print(C if A*C <= B else B//A) 