function Main(input) {
	input = input.split("\n");
	input = input[0].split(" ")
	const A = parseInt(input[0])
	const B = parseInt(input[1])
	var count = 1
	var n = 0
	while(count < B){
		count = count - 1 + A
		n++
	}
	console.log(n)
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));