open System
let input =stdin.ReadLine().Split()|> Array.map int
let A =input.[0]
let B =input.[1]
[<EntryPoint>]
let sf argv = 
    let minus x = x-1
    let rec tap cur a b = if cur >= b then 0 else (tap (cur+minus a) a b)+1 
    tap 1 A B|>stdout.WriteLine
    0
