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