const numberList = require('fs').readFileSync('/dev/stdin','utf8').trim().split(' ').map(e => parseInt(e))

// answer = (a-1)n+1
var a = numberList[0]
var b = numberList[1]

for(var n=0;;n++) {
  if((a-1) * n + 1 >= b) {
    console.log(n)
    break
  }
}
