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