price, poket_money, max_music = map(int, input().split())

music_times = -1
for i in range(0, poket_money + 1, price):
    music_times += 1
    if max_music == music_times:
        break

print(music_times) price, poket_money, max_music = map(int, input().split()) price map(int, input().split()) map int input().split() ().split () input split poket_money max_music music_times = -1 music_times -1 for i in range(0, poket_money + 1, price):
    music_times += 1
    if max_music == music_times:
        break i range(0, poket_money + 1, price) range 0 poket_money + 1 poket_money 1 price music_times += 1 music_times 1 if max_music == music_times:
        break max_music == music_times max_music music_times break print(music_times) print music_times music_times = -1 -1 music_times poket_money, max_music = map(int, input().split()) map(int, input().split()) poket_money max_music = map(int, input().split()) map(int, input().split()) max_music music_times += 1 1 music_times price, poket_money, max_music = map(int, input().split()) map(int, input().split()) price
price, poket_money, max_music = map(int, input().split())

music_times = -1
for i in range(0, poket_money + 1, price):
    music_times += 1
    if max_music == music_times:
        break

print(music_times)