'use strict'

const main = (INPUT) => {
  const input = INPUT.split('\n')[0]
  const A = Number(input.split(' ')[0])
  const B = Number(input.split(' ')[1])

  let plug = 1
  let ans = 0
  while (plug < B) {
    ans++
    plug--
    plug += A
  }
  console.log(ans)
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'))
