import java.io.PrintWriter
import java.util

object Main {


  def main(args: Array[String]) {
    val stdin = scala.io.StdIn

    val printWriter = new PrintWriter(System.out)

    val a = stdin.readLine().split(" ").map(i => i.toInt)

    printWriter.println(Math.min(a(1) / a(0), a(2)))

    printWriter.close()
  }
}
