local a,b = io.read("a"):match("(%d+).(%d+)")
a,b = tonumber(a) - 1,tonumber(b)
local count = 0
local loop = true
while loop do
  if b == 0 then
    break
  end
  count = count + 1
  if b <= a * count + 1 then
    loop = false
  end
end
print(count)