


"""simple docstring"""






from typing import Optional

import pyspark

from .. import Features, NamedSplit
from ..download import DownloadMode
from ..packaged_modules.spark.spark import Spark
from .abc import AbstractDatasetReader


class     __lowerCamelCase  (					__A				):

					'''simple docstring'''


					def __init__(      self    ,				__UpperCAmelCase    ,				__UpperCAmelCase = None    ,				__UpperCAmelCase = None    ,				__UpperCAmelCase = True    ,				__UpperCAmelCase = None    ,				__UpperCAmelCase = False    ,				__UpperCAmelCase = None    ,				__UpperCAmelCase = True    ,				__UpperCAmelCase = "arrow"    ,				**__UpperCAmelCase    ,				)       ->							Optional[int]:
										super().__init__(
										    split=UpperCamelCase__    ,				features=UpperCamelCase__    ,				cache_dir=UpperCamelCase__    ,				keep_in_memory=UpperCamelCase__    ,				streaming=UpperCamelCase__    ,				**UpperCamelCase__    ,				)
										_a    	=				load_from_cache_file
										_a    	=				file_format
										_a    	=				Spark(
										    df=UpperCamelCase__    ,				features=UpperCamelCase__    ,				cache_dir=UpperCamelCase__    ,				working_dir=UpperCamelCase__    ,				**UpperCamelCase__    ,				)





					def 							_UpperCAmelCase      (      self							)       ->							Optional[Any]:
										if self.streaming:
															return self.builder.as_streaming_dataset(split=self.split							)
										_a    	=				None if self._load_from_cache_file else DownloadMode.FORCE_REDOWNLOAD
										self.builder.download_and_prepare(
										    download_mode=UpperCamelCase__    ,				file_format=self._file_format    ,				)
										return self.builder.as_dataset(split=self.split							)



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