fun main(args: Array<String>) {
    abc120a()
}

fun abc120a() {
    val (price, money, time) = readLine()!!.split(" ").map { it.toInt() }

    val comfortCost = price * time

    if (comfortCost <= money) println(time) else println(money / price)
}
