"use strict"
const Main = (input) =>{
	let xs = input.trim().split(' ').map(v=>parseInt(v,10));
    let a = xs[0];
    let b = xs[1];
    let ans = 1;
    //let ans1 = 0; 
    //for(let j = 1; 20>j; j++){
    //ans1=(a-1)*j+a 
    //console.log(ans1);
    //}  
    //if(a >= b){
    //ans = 1;
    //}else{ 
    	for(let i = 0; (a-1)*i+a < b; i++){
    	ans += 1;
    	}
    //}
    console.log(ans);
}
Main(require('fs').readFileSync('/dev/stdin','utf8'));