




from collections.abc import Generator

def       _SCREAMING_SNAKE_CASE      (							):


      '''simple docstring'''



      lowerCamelCase_					,    lowerCamelCase_							=   0, 1
      while True:
            lowerCamelCase_					,    lowerCamelCase_							=   b, a + b
            yield b

def       _SCREAMING_SNAKE_CASE      (							lowercase     :	int = 10_00					):


      '''simple docstring'''



      lowerCamelCase_							=   1
      lowerCamelCase_							=   fibonacci_generator()
      while len(str(next(lowercase					)					)					) < n:
            answer += 1
      return answer + 1


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









def       _SCREAMING_SNAKE_CASE      (							lowercase     :	str     ,							lowercase     :	int					):


      '''simple docstring'''



      return [sentence[i : i + ngram_size] for i in range(len(lowercase					) - ngram_size + 1					)]


if __name__ == "__main__":
 from doctest import testmod

 testmod()



