import java.util.Scanner

object Main extends App {
  val sc = new Scanner(System.in)
  val A, B = sc.nextInt

  var i = 0
  var x = 1
  while (x < B) {
    i += 1
    x -= 1
    x += A
  }
  println(i)
}
