function main(input){
 const args = input.split(' ');
 const A = args[0];
 const B = args[1];
 const C = args[2];
 const culc = B / A;
 console.log(Number(C) < culc ? C:culc)
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));