const main = input =>{

    const arr = input.split(" ");
    const num = arr[0];
    const need = arr[1];

    var output = 0;
    var result = 0;

    while(need > output) {
        output += 1;
        output += num-1;
        result ++;
    }
    console.log(result);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));