


"""simple docstring"""






import os
from math import logaa
def       A_   (   _lowerCAmelCase     :					str = "base_exp.txt"       ):






					"""simple docstring"""

					_a    	=				0
					_a    	=				0
					for i, line in enumerate(open(os.path.join(os.path.dirname(_lowerCAmelCase       ),     _lowerCAmelCase       )       )       ):
										_a	,      _a    	=				list(map(_lowerCAmelCase,     line.split(''','''       )       )       )
										if x * logaa(_lowerCAmelCase       ) > largest:
															_a    	=				x * logaa(_lowerCAmelCase       )
															_a    	=				i + 1
					return result


if __name__ == "__main__":
			print(solution())



"""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())))