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


var socketSize = numberList[0] - 1
var neededSocketSize = numberList[1]

var remainder = neededSocketSize % socketSize
var quot = (neededSocketSize - remainder) / socketSize

console.log(quot + (remainder > 1 ? 1 : 0))
