import scala.math.abs

object Main extends App {

  val sc = new java.util.Scanner(System.in)
  val A = sc.nextInt()
  val B = sc.nextInt()
  var socket = 1
  var tap =  0
  while(socket < B) {
    socket = socket + A - 1
    tap += 1
  }
  println(tap)
}