#include<bits/stdc++.h>
using namespace std;

int main(){
  int sum = 1, a, b, i = 0; cin >> a >> b;
  while(sum < b){
    sum = sum - 1 + a;
    i++;
  }
  cout << i << endl;
}  
#include <bits/stdc++.h>
using namespace std;

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