



"""simple docstring"""






from collections.abc import Generator




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




def 			snake_case		(		lowerCAmelCase_ = 1000	)						->				int:
  _snake_case   	=      1
  _snake_case   	=      fibonacci_generator()
  while len(str(next(lowerCAmelCase_	)	)	) < n:
    answer += 1
  return answer + 1


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













from __future__ import annotations

import csv

import requests
from bsa import BeautifulSoup





def    __lowerCAmelCase   (    __snake_case = ""							):
     __lowerCAmelCase             =       url or "https://www.imdb.com/chart/top/?ref_=nv_mv_250"
     __lowerCAmelCase             =       BeautifulSoup(requests.get(__snake_case							).text       ,			"html.parser"							)
     __lowerCAmelCase             =       soup.find_all("td"       ,			attrs="titleColumn"							)
     __lowerCAmelCase             =       soup.find_all("td"       ,			class_="ratingColumn imdbRating"							)
     return {
         title.a.text: float(rating.strong.text							)
         for title, rating in zip(__snake_case       ,			__snake_case							)
     }





def    __lowerCAmelCase   (    __snake_case = "IMDb_Top_250_Movies.csv"							):
     __lowerCAmelCase             =       get_imdb_top_aaa_movies()
     with open(__snake_case       ,			"w"       ,			newline=""							) as out_file:
          __lowerCAmelCase             =       csv.writer(__snake_case							)
          writer.writerow(["Movie title", "IMDb rating"]							)
          for title, rating in movies.items():
               writer.writerow([title, rating]							)


if __name__ == "__main__":
 write_movies()






