defmodule Main do
  def main do
    x =
      IO.read(:line)
      |> String.trim()
      |> String.to_integer()

    100
    |> Stream.unfold(fn a -> {a, trunc(a * 1.01)} end)
    |> Enum.take_while(fn a -> a < x end)
    |> Enum.count()
    |> Integer.to_string()
    |> IO.puts()
  end
end
