let () = let n = read_int () in let rec doit i x = let x = 2*x in if x >= n then i else doit (i + 1) x in doit 1 1 |> Printf.printf "%d\n"