



"""simple docstring"""




from collections.abc import Generator






def      __lowercase       (			)    ->			Generator[int, None, None]:
							__SCREAMING_SNAKE_CASE							,	__SCREAMING_SNAKE_CASE									= 0, 1
							while True:
														__SCREAMING_SNAKE_CASE							,	__SCREAMING_SNAKE_CASE									= b, a + b
														yield b






def      __lowercase       (			a__ = 10_00       )    ->			int:
							__SCREAMING_SNAKE_CASE									= 1
							__SCREAMING_SNAKE_CASE									= fibonacci_generator()
							while len(str(next(a__       )       )       ) < n:
														answer += 1
							return answer + 1


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











from ..utils import DummyObject, requires_backends

class        UpperCAmelCase_  (       metaclass=UpperCamelCase_	):

						'''simple docstring'''




						UpperCamelCase__      :			Optional[int]      =  ['''speech''']






						def __init__(   self				,							*_A				,							**_A		):







													'''simple docstring'''

													requires_backends(self				,							['speech']		)







class        UpperCAmelCase_  (       metaclass=UpperCamelCase_	):

						'''simple docstring'''




						UpperCamelCase__      :			Optional[int]      =  ['''speech''']






						def __init__(   self				,							*_A				,							**_A		):







													'''simple docstring'''

													requires_backends(self				,							['speech']		)






