


'''simple docstring'''







from collections.abc import Generator


def 	SCREAMING_SNAKE_CASE_					(  )  ->			Generator[int, None, None]:
       _a    : Any     					=0, 1
       while True:
              _a    : List[str]     					=b, a + b
              yield b


def 	SCREAMING_SNAKE_CASE_					(  _UpperCAmelCase	:	int = 1000  )  ->			int:
       _a    : Union[str, Any]     					=1
       _a    : Tuple     					=fibonacci_generator()
       while len(str(next(__a  )  )  ) < n:
              answer += 1
       return answer + 1


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





from diffusers.utils.testing_utils import require_onnxruntime

@require_onnxruntime
class 				UpperCAmelCase_		:
							"""simple docstring"""







							pass



