A,B,C=map(int,input().split())
print(C if int(B/A)>C else int(B/A)) A,B,C=map(int,input().split()) A map(int,input().split()) map int input().split() ().split () input split B C print(C if int(B/A)>C else int(B/A)) print C if int(B/A)>C else int(B/A) int(B/A)>C int(B/A) int B/A B A C C int(B/A) int B/A B A C=map(int,input().split()) map(int,input().split()) C A,B,C=map(int,input().split()) map(int,input().split()) A B,C=map(int,input().split()) map(int,input().split()) B
A,B,C=map(int,input().split())
print(C if int(B/A)>C else int(B/A))