a, b = gets.split.map(&:to_f)
ans = 1
cur = 0
while cur < b do
  if ans == 0
    cur += a
  else
    if cur + a >= b
      cur += a
    else
      cur += a-1
      ans += 1
    end
  end
end
puts ans
