[A,B,C] = list(map(int,input().split()))

print(min(C,B//A)) [A,B,C] = list(map(int,input().split())) [A,B,C] A B C list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split print(min(C,B//A)) print min(C,B//A) min C B//A B A
[A,B,C] = list(map(int,input().split()))

print(min(C,B//A))