


"""simple docstring"""






import warnings

from .generation import TFGenerationMixin


class     __lowerCamelCase  (					a__				):

     '''simple docstring'''
     # warning at import time
     warnings.warn(
         'Importing `TFGenerationMixin` from `src/transformers/generation_tf_utils.py` is deprecated and will '
         'be removed in Transformers v5. Import as `from transformers import TFGenerationMixin` instead.'  ,					a__  ,					)



"""simple docstring"""






def       A_   (   _lowerCAmelCase     :					int = 10_00       ):






     """simple docstring"""

     _a	,      _a    	=				1, 1
     _a    	=				2
     while True:
          _a    	=				0
          _a    	=				fa + fa
          _a	,      _a    	=				fa, f
          index += 1
          for _ in str(_lowerCAmelCase       ):
               i += 1
          if i == n:
               break
     return index


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