"use strict";

function Main(input) {
	input = input.split(" ");
    const a = parseInt(input[0], 10);
    let b = parseInt(input[1], 10);
    const c = parseInt(input[2], 10);

    let answer = 0;
    for (let i = 0; i < c; i++) {
        if (a > b) {
            break;
        } else {
            answer++;
            b -= a;
        }
    }

    console.log(answer);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
