function main(input) {
  var a = input[0].split(" ")[0]-0;
  var b = input[0].split(" ")[1]-0;
 
  var ans = 0;
  var num = 1;
  while(num<b){
    ans++;
    num+=a-1;
  }
  console.log(ans);
}
 
main(require('fs').readFileSync('/dev/stdin', 'utf8').split("\n"))