#include <bits/stdc++.h>
//#include <atcoder/all>
//using namespace atcoder;
using namespace std;
#define rep(i,n) for (int i = 0; i < (n); i++)
typedef pair<int,int> P;
typedef long long ll;



int main() {
    int a, b;
    cin >> a >> b;
    
    int sum = 1, cnt = 0;
    while(sum < b) {
        sum += a-1;
        cnt++;
    }
    
    cout << cnt << endl;
    
    
    return 0;
}

#include<iostream> 
#include <algorithm>
#include <vector>
#include <cstdlib>
#include <sstream>
#include <vector>

using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)



int main() {
	int a, b,i=0;
	cin >> a >> b;
	while (1) {
		if (a * i - i + 1 >= b) {
			cout << i << endl;
			return 0;
		}
		i++;
	}

	return 0;
}


