program main
  implicit none
  integer i,ans,a,b
  read(*, *)a,b
  !read(*, *) (L(i), i = 1,N)
  i = 1
  ans = 0
  do
    if (i >= b) then
      exit
    else
      i = i + a-1
      ans = ans + 1
    end if
  end do

  write(*, *) ans
end program main
