let (x,y) = Scanf.scanf "%d %d\n" (fun x y -> (x,y))

let pr x = print_endline (string_of_int x)

let z = (log (float_of_int y)) -. (log (float_of_int x))

let w = (z /. (log 2.0)) +. 1.

let () = w
         |> int_of_float
         |> pr
