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 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 C = (int(X) for X in input().split()) (int(X) for X in input().split()) C
A,B,C = (int(X) for X in input().split())
print(min(C,B//A))