"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 i = 0
    if(b==1){
    ans = 0
    }else{
      while((a-1)*i+a < b){
      i++
      ans += 1;
      }
    }
    console.log(ans);
}
Main(require('fs').readFileSync('/dev/stdin','utf8'));