per_cost, possess, times = map(int, input().split())

MAX_cost = times * per_cost

if (possess >= MAX_cost):
    ans = times
else:
    ans = possess // per_cost

print(ans) per_cost, possess, times = map(int, input().split()) per_cost map(int, input().split()) map int input().split() ().split () input split possess times MAX_cost = times * per_cost MAX_cost times * per_cost times per_cost if (possess >= MAX_cost):
    ans = times
else:
    ans = possess // per_cost possess >= MAX_cost possess MAX_cost ans = times ans times ans = possess // per_cost ans possess // per_cost possess per_cost print(ans) print ans possess, times = map(int, input().split()) map(int, input().split()) possess times = map(int, input().split()) map(int, input().split()) times ans = times times ans ans = possess // per_cost possess // per_cost ans MAX_cost = times * per_cost times * per_cost MAX_cost per_cost, possess, times = map(int, input().split()) map(int, input().split()) per_cost
per_cost, possess, times = map(int, input().split())

MAX_cost = times * per_cost

if (possess >= MAX_cost):
    ans = times
else:
    ans = possess // per_cost

print(ans)
