


"""simple docstring"""







def      UpperCAmelCase__ (lowerCAmelCase_     ):




     '''simple docstring'''


     if n == 1 or not isinstance(lowerCamelCase_						,		lowerCamelCase_     ):
          return 0
     elif n == 2:
          return 1
     else:
          __SCREAMING_SNAKE_CASE		     =       [0, 1]
          for i in range(2						,		n + 1     ):
               sequence.append(sequence[i - 1] + sequence[i - 2]     )

          return sequence[n]




def      UpperCAmelCase__ (lowerCAmelCase_     ):




     '''simple docstring'''


     __SCREAMING_SNAKE_CASE		     =       0
     __SCREAMING_SNAKE_CASE		     =       2

     while digits < n:
          index += 1
          __SCREAMING_SNAKE_CASE		     =       len(str(fibonacci(lowerCamelCase_     )     )     )

     return index




def      UpperCAmelCase__ (lowerCAmelCase_ = 1000     ):




     '''simple docstring'''


     return fibonacci_digits_index(lowerCamelCase_     )


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




"""simple docstring"""







from abc import ABC, abstractmethod
from argparse import ArgumentParser




class 				UpperCamelCase_			(				UpperCamelCase):

	"""simple docstring"""





	@staticmethod
	@abstractmethod
	def 						UpperCAmelCase_   (				UpperCAmelCase__    :       ArgumentParser     ) ->			Optional[Any]:
						raise NotImplementedError()




	@abstractmethod
	def 						UpperCAmelCase_   (				self    :       Optional[Any]     ) ->			List[str]:
						raise NotImplementedError()
