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