function main(input){
  input = input.split(' ').map(parseFloat);
  var total = 1;
  var result = 0;
  
  for(var i = 0;total < input[1];i++){
    total += input[0] - 1;
    result++;
  }
  console.log(result);
}
main(require('fs').readFileSync('/dev/stdin','utf8'));