import std.stdio, std.conv, std.string, std.algorithm, std.range;

void main() {
  auto input = readln.split.to!(int[]);
  auto A = input[0];
  auto B = input[1];

  auto N = 1;
  auto count=0;
  while(N < B) {
    N--;
    N+=A;
    count++;
  }
  count.writeln;
}