




'''simple docstring'''



import logging

from transformers.configuration_utils import PretrainedConfig


lowerCamelCase_			=						logging.getLogger(__name__)







class 		lowercase_   (			A       ):


   """simple docstring"""

   lowerCamelCase_      =						'''masked_bert'''



   def __init__(   self :     Optional[Any]  ,				__lowerCamelCase :     Optional[int]=3_0_5_2_2  ,				__lowerCamelCase :     Any=7_6_8  ,				__lowerCamelCase :     Optional[int]=1_2  ,				__lowerCamelCase :     Dict=1_2  ,				__lowerCamelCase :     Any=3_0_7_2  ,				__lowerCamelCase :     str="gelu"  ,				__lowerCamelCase :     Dict=0.1  ,				__lowerCamelCase :     Optional[Any]=0.1  ,				__lowerCamelCase :     List[Any]=5_1_2  ,				__lowerCamelCase :     List[Any]=2  ,				__lowerCamelCase :     str=0.0_2  ,				__lowerCamelCase :     Dict=1e-12  ,				__lowerCamelCase :     str=0  ,				__lowerCamelCase :     int="topK"  ,				__lowerCamelCase :     Dict="constant"  ,				__lowerCamelCase :     Tuple=0.0  ,				**__lowerCamelCase :     Any  ,				):

      """simple docstring"""
      super().__init__(pad_token_id=__lowerCamelCase  ,				**__lowerCamelCase   )

      _SCREAMING_SNAKE_CASE	=				vocab_size
      _SCREAMING_SNAKE_CASE	=				hidden_size
      _SCREAMING_SNAKE_CASE	=				num_hidden_layers
      _SCREAMING_SNAKE_CASE	=				num_attention_heads
      _SCREAMING_SNAKE_CASE	=				hidden_act
      _SCREAMING_SNAKE_CASE	=				intermediate_size
      _SCREAMING_SNAKE_CASE	=				hidden_dropout_prob
      _SCREAMING_SNAKE_CASE	=				attention_probs_dropout_prob
      _SCREAMING_SNAKE_CASE	=				max_position_embeddings
      _SCREAMING_SNAKE_CASE	=				type_vocab_size
      _SCREAMING_SNAKE_CASE	=				initializer_range
      _SCREAMING_SNAKE_CASE	=				layer_norm_eps
      _SCREAMING_SNAKE_CASE	=				pruning_method
      _SCREAMING_SNAKE_CASE	=				mask_init
      _SCREAMING_SNAKE_CASE	=				mask_scale







'''simple docstring'''



def 			SCREAMING_SNAKE_CASE_			(							__A    :			int  )			->			int:
   if n == 1 or not isinstance(__A	,					__A  ):
      return 0
   elif n == 2:
      return 1
   else:
      _SCREAMING_SNAKE_CASE	=				[0, 1]
      for i in range(2	,					n + 1  ):
         sequence.append(sequence[i - 1] + sequence[i - 2]  )

      return sequence[n]
def 			SCREAMING_SNAKE_CASE_			(							__A    :			int  )			->			int:
   _SCREAMING_SNAKE_CASE	=				0
   _SCREAMING_SNAKE_CASE	=				2

   while digits < n:
      index += 1
      _SCREAMING_SNAKE_CASE	=				len(str(fibonacci(__A  )  )  )

   return index
def 			SCREAMING_SNAKE_CASE_			(							__A    :			int = 10_00  )			->			int:
   return fibonacci_digits_index(__A  )


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

