function main(input) {
    input = input.split(" ");
    var a = parseInt(input[0]);
    var b = parseInt(input[1]);
    var cnt = 0;
    var t = 1;
    while (t < b) {
        t += a-1;
        cnt += 1;
    }
    console.log(cnt);
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));