




"""simple docstring"""




from ..utils import DummyObject, requires_backends






class     __magic_name__							(       metaclass=UpperCAmelCase__				):






				'''simple docstring'''
				__UpperCamelCase			  =						["speech"]





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





							"""simple docstring"""
							requires_backends(self		, ["""speech"""] )






class     __magic_name__							(       metaclass=UpperCAmelCase__				):






				'''simple docstring'''
				__UpperCamelCase			  =						["speech"]





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





							"""simple docstring"""
							requires_backends(self		, ["""speech"""] )









"""simple docstring"""




from collections.abc import Generator



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



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


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



