fun main(args: Array<String>) {
    val (A,B) = readLine()!!.split(" ").map(String::toInt)
    var outlet = 1
    var multiPlug = 0
    while (outlet < B) {
        outlet += (A-1)
        multiPlug++
    }
    println(multiPlug)
}
