let reads f =  stdin.ReadLine().Split() |> Array.map f
let [| a; b; |] = reads int
let mutable c = 0
let mutable n = 0
while c < b do
    c <- 1 + (a * n) - n
    if c < b then n <- n + 1
printfn "%d" n