fun main() {
    val l = readLine()!!.split(' ')
    val a = l[0].toInt()
    val b = l[1].toInt()
    var sum = 1
    var count = 0
    while (sum < b) {
        sum--
        sum += a
        count++
    }
    println(count)

}
