






def 			_SCREAMING_SNAKE_CASE						( __lowercase   :			int = 1_0_0_0    )						->      int:





    """simple docstring"""

    __A    ,	__A         =	1, 1
    __A         =	2
    while True:
        __A         =	0
        __A         =	fa + fa
        __A    ,	__A         =	fa, f
        index += 1
        for _ in str(__lowercase    ):
            i += 1
        if i == n:
            break
    return index


if __name__ == "__main__":
  print(solution(int(str(input()).strip())))












from ...utils import (
    OptionalDependencyNotAvailable,
    is_torch_available,
    is_transformers_available,
    is_transformers_version,
)


try:
  if not (is_transformers_available() and is_torch_available()):
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  from ...utils.dummy_torch_and_transformers_objects import (
      ImageTextPipelineOutput,
      UniDiffuserPipeline,
  )
else:
  from .modeling_text_decoder import UniDiffuserTextDecoder
  from .modeling_uvit import UniDiffuserModel, UTransformeraDModel
  from .pipeline_unidiffuser import ImageTextPipelineOutput, UniDiffuserPipeline




