'use strict'

function Main(input) {
  const A = input.split(" ")[0]
  let B = input.split(" ")[1]
  let ans = 0
  
  for(let i=0; i<100; i++) {
    if(i === 0) {
      B -= A
    } else {
      B -= (A - 1)
    }
    ans++
    if(B <= 0) {
      break
    }
  }
  console.log(ans)
}

Main(require("fs").readFileSync("/dev/stdin", "utf8").trim())
