'use strict'

const main = input => {
	const args = input.split('\n').map(arg => arg.split(' '))
	const A = parseInt(args[0][0], 10)
	const B = parseInt(args[0][1], 10)
	let num = 1

	while (true) {
		const sum = A * num - (num - 1)
		if (sum >= B) break
		num++
	}

	console.log(num)
}

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