import std.stdio;
import std.conv;
import std.string;

void main() {
  string[] input = split(readln());
  int a = to!int(input[0])-1;
  int b = to!int(input[1]);
  int ans = 0;
  int tap = 1;


  while (tap < b) {
    tap += a;
    ans++;
  }

  writeln(ans);
}