"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// parameter "input" gets all data
function FavoriteSound(input) {
    // the first line is assigned to input[0], the second line is assigned to input[1] similarly.
    var _a = input.split("\n")[0].split(" ").map(Number), A = _a[0], B = _a[1], C = _a[2];
    // convert string from integer using "parseInt"
    var count = Math.min(C, Math.floor(B / A));
    //output
    console.log('%d', count);
}
exports.FavoriteSound = FavoriteSound;
// Don't edit this line!
try {
    FavoriteSound(require("fs").readFileSync("/dev/stdin", "utf8"));
}
catch (e) {
    // ignore, so importing in local unit tests would work
}
//# sourceMappingURL=FavoriteSound.js.map