import scala.io.StdIn.readLine

object Main extends App {
  val input = readLine().split(" ").map(_.toInt)
  val num = input(0)
  val demand = input(1)

  for (i <- 0 to 100) {
    val calc = 1 + (num - 1) * i
    if (calc >= demand) {
      println(i);
      sys.exit
    }
  }

}