def      a__ (		__UpperCamelCase = 1_0_0_0				):
      SCREAMING_SNAKE_CASE_     , SCREAMING_SNAKE_CASE_          =  1, 1
      SCREAMING_SNAKE_CASE_          =  2
      while True:
            SCREAMING_SNAKE_CASE_          =  0
            SCREAMING_SNAKE_CASE_          =  fa + fa
            SCREAMING_SNAKE_CASE_     , SCREAMING_SNAKE_CASE_          =  fa, f
            index += 1
            for _ in str(__UpperCamelCase				):
                  i += 1
            if i == n:
                  break
      return index


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



from typing import Optional
from urllib.parse import quote

import huggingface_hub as hfh
from packaging import version


def      a__ (		__UpperCamelCase     ,      __UpperCamelCase     ,      __UpperCamelCase = None				):
      if version.parse(hfh.__version__				).release < version.parse("0.11.0"				).release:
            # old versions of hfh don't url-encode the file path
            SCREAMING_SNAKE_CASE_          =  quote(__UpperCamelCase				)
      return hfh.hf_hub_url(__UpperCamelCase     ,      __UpperCamelCase     ,      repo_type="dataset"     ,      revision=__UpperCamelCase				)


