#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for(ll i = 0, i##_len = (n); i < i##_len; ++i)
#define rep2(i, x, n) for(ll i = x, i##_len = (n); i < i##_len; ++i)
#define all(n) begin(n), end(n)
using ll = long long;
using P = pair<ll, ll>;
using vi = vector<int>;
using vl = vector<ll>;
using vs = vector<string>;
using vc = vector<char>;
using vb = vector<bool>;
using vd = vector<double>;
vi dir = {-1, 0, 1, 0, -1, -1, 1, 1, -1};

int main() {
  ll a, b;
  cin >> a >> b;
  rep(i, 100) {
    ll now = i * a - i + 1;
    if(now < b) continue;
    cout << i << endl;
    return 0;
  }
}
#include <iostream>

int main()
{
	int A, B;
	std::cin >> A >> B;
	if ((B-1)%(A-1)==0) std::cout << (B-1)/(A-1) << std::endl;
	else std::cout << (B-1)/(A-1) + 1 << std::endl;
	return 0;
}
