




'''simple docstring'''







from collections.abc import Generator



def        lowerCamelCase__				(      ):
     snake_case ,		snake_case			:      str        =			0, 1
     while True:
          snake_case ,		snake_case			:      Tuple        =			b, a + b
          yield b



def        lowerCamelCase__				(      __lowercase = 1_000				):
     snake_case			:      Tuple        =			1
     snake_case			:      Optional[int]        =			fibonacci_generator()
     while len(str(next(__lowercase				)				)				) < n:
          answer += 1
     return answer + 1


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









'''simple docstring'''







from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


lowercase      :   Union[str, Any]      =       {
    """configuration_instructblip""": [
        """INSTRUCTBLIP_PRETRAINED_CONFIG_ARCHIVE_MAP""",
        """InstructBlipConfig""",
        """InstructBlipQFormerConfig""",
        """InstructBlipVisionConfig""",
    ],
    """processing_instructblip""": ["""InstructBlipProcessor"""],
}

try:
      if not is_torch_available():
            raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
      pass
else:
      lowercase      :   Union[str, Any]      =       [
          """INSTRUCTBLIP_PRETRAINED_MODEL_ARCHIVE_LIST""",
          """InstructBlipQFormerModel""",
          """InstructBlipPreTrainedModel""",
          """InstructBlipForConditionalGeneration""",
          """InstructBlipVisionModel""",
      ]

if TYPE_CHECKING:
      from .configuration_instructblip import (
          INSTRUCTBLIP_PRETRAINED_CONFIG_ARCHIVE_MAP,
          InstructBlipConfig,
          InstructBlipQFormerConfig,
          InstructBlipVisionConfig,
      )
      from .processing_instructblip import InstructBlipProcessor

      try:
            if not is_torch_available():
                  raise OptionalDependencyNotAvailable()
      except OptionalDependencyNotAvailable:
            pass
      else:
            from .modeling_instructblip import (
                INSTRUCTBLIP_PRETRAINED_MODEL_ARCHIVE_LIST,
                InstructBlipForConditionalGeneration,
                InstructBlipPreTrainedModel,
                InstructBlipQFormerModel,
                InstructBlipVisionModel,
            )

else:
      import sys

      lowercase      :   List[Any]      =       _LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)



