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

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

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