let get_2_ints () = Scanf.scanf "%d %d " (fun u v -> u,v)

let () =
  let (x,y) = get_2_ints ()
  in let rec f0 i k =
    if i>y then k else f0 (i*2) (k+1)
  in f0 x 0 |> string_of_int |> print_endline