"use strict"

function Main(input) {
  input = input.trim().split(' ').map(Number);
  const A = input[0];
  const B = input[1];

  let ret = 1;
  let tmp = A;
  while(true){
    if(tmp >= B) break;
    tmp += A-1;
    ret++
  }
  console.log(ret);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));