program main
  
  implicit none
  integer :: a, b
  integer :: i,n
  
  read(*,*) a,b
  
  n = 1 
  i = 0 
  do 
    
    n = n + a - 1 
    i = i + 1

    if( n >= b ) exit
  end do
  print*, i
end program main
