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