open System let max = Console.ReadLine() |> int let rec twice n c = if (n*2) >= max then c else twice (n*2) c + 1 twice 1 1 |> Console.WriteLine