defmodule Main do
  def main do
    x = IO.gets("") |> String.trim() |> String.to_integer()
    risi(100, x, 0)
    |> IO.puts()
  end

  def risi(sum, x, count) when sum >= x, do: count
  def risi(sum, x, count), do: risi(trunc(sum * 1.01), x, count + 1)
end
  