import scala.io.StdIn
object Main extends App {
  val List(a, b) = StdIn.readLine().split(" ").map(_.toInt).toList
  var tmp = 1
  var answer = 0
  while (tmp < b) {
    tmp += a
    tmp -= 1
    answer += 1
  }
  println(answer)
}
