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