object Main extends App{
  val Array(a,b) = scala.io.StdIn.readLine.split(" ").map(_.toInt)
  var count = 1
  var socket = a
  while(socket<b){
    count+=1
    socket+=a
    socket+=1
  }
  println(count)
}
