


"""simple docstring"""
def 			_SCREAMING_SNAKE_CASE						(__lowerCAmelCase							) ->						int:







  '''simple docstring'''


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

    return sequence[n]


def 			_SCREAMING_SNAKE_CASE						(__lowerCAmelCase							) ->						int:







  '''simple docstring'''


  lowercase_								= 0
  lowercase_								= 2

  while digits < n:
    index += 1
    lowercase_								= len(str(fibonacci(_lowerCAmelCase							)							)							)

  return index


def 			_SCREAMING_SNAKE_CASE						(__lowerCAmelCase = 10_00							) ->						int:







  '''simple docstring'''


  return fibonacci_digits_index(_lowerCAmelCase							)


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






"""simple docstring"""
from ..utils import DummyObject, requires_backends


class    SCREAMING_SNAKE_CASE__ (							metaclass=__UpperCAmelCase   ):
    lowercase__      =   ["keras_nlp"]

    def __init__(				self			:				Dict ,  *lowerCAmelCase_			:				List[str] ,  **lowerCAmelCase_			:				Tuple):







      """simple docstring"""







      requires_backends(self ,  ["""keras_nlp"""])

