



"""simple docstring"""






from collections.abc import Generator


def 			_lowercase				(  )						->   Generator[int, None, None]:
			__lowerCAmelCase						,	__lowerCAmelCase      :  Union[str, Any]												=       0, 1
			while True:
						__lowerCAmelCase						,	__lowerCAmelCase      :  Optional[int]												=       b, a + b
						yield b


def 			_lowercase				(  __snake_case = 1_000	)						->   int:
			__lowerCAmelCase      :  Dict												=       1
			__lowerCAmelCase      :  int												=       fibonacci_generator()
			while len(str(next(__snake_case	)	)	) < n:
						answer += 1
			return answer + 1


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




"""simple docstring"""






from ..utils import DummyObject, requires_backends



class 			A__   (  metaclass=__SCREAMING_SNAKE_CASE							):




	'''simple docstring'''





	SCREAMING_SNAKE_CASE          =	['torch', 'torchsde']

	def __init__(     self:		int       ,			*_SCREAMING_SNAKE_CASE:		Optional[Any]       ,			**_SCREAMING_SNAKE_CASE:		str)				->       Dict:

				"""simple docstring"""

				requires_backends(self       ,			["torch", "torchsde"])

	@classmethod
	def 							_SCREAMING_SNAKE_CASE   (     cls:		Optional[Any]       ,			*_SCREAMING_SNAKE_CASE:		Optional[int]       ,			**_SCREAMING_SNAKE_CASE:		Optional[int])				->       Optional[Any]:

				"""simple docstring"""

				requires_backends(cls       ,			["torch", "torchsde"])







	@classmethod
	def 							_SCREAMING_SNAKE_CASE   (     cls:		Dict       ,			*_SCREAMING_SNAKE_CASE:		List[Any]       ,			**_SCREAMING_SNAKE_CASE:		Any)				->       Optional[int]:

				"""simple docstring"""

				requires_backends(cls       ,			["torch", "torchsde"])