






'''simple docstring'''



from __future__ import annotations

from typing import Dict

from ...configuration_utils import PretrainedConfig


SCREAMING_SNAKE_CASE							=						{
    'susnato/ernie-m-base_pytorch': 'https://huggingface.co/susnato/ernie-m-base_pytorch/blob/main/config.json',
    'susnato/ernie-m-large_pytorch': 'https://huggingface.co/susnato/ernie-m-large_pytorch/blob/main/config.json',
}
class UpperCAmelCase_       (     __A					):




      """simple docstring"""




      UpperCamelCase_             =      '''ernie_m'''
      UpperCamelCase_             =      {"dropout": "classifier_dropout", "num_classes": "num_labels"}






      def __init__(			self      :		Any  ,   UpperCAmelCase      :		int = 25_0002  ,   UpperCAmelCase      :		int = 768  ,   UpperCAmelCase      :		int = 12  ,   UpperCAmelCase      :		int = 12  ,   UpperCAmelCase      :		int = 3072  ,   UpperCAmelCase      :		str = "gelu"  ,   UpperCAmelCase      :		float = 0.1  ,   UpperCAmelCase      :		float = 0.1  ,   UpperCAmelCase      :		int = 514  ,   UpperCAmelCase      :		float = 0.0_2  ,   UpperCAmelCase      :		int = 1  ,   UpperCAmelCase      :		float = 1e-05  ,   UpperCAmelCase      :		List[Any]=None  ,   UpperCAmelCase      :		List[str]=False  ,   UpperCAmelCase      :		Optional[int]=0.0  ,   **UpperCAmelCase      :		List[str]  ,   )	->	Optional[int]:


       '''simple docstring'''

       super().__init__(pad_token_id=UpperCAmelCase  ,   **UpperCAmelCase		)
       lowercase       : Optional[Any]						=vocab_size
       lowercase       : int						=hidden_size
       lowercase       : List[str]						=num_hidden_layers
       lowercase       : Union[str, Any]						=num_attention_heads
       lowercase       : Any						=intermediate_size
       lowercase       : Optional[int]						=hidden_act
       lowercase       : Optional[int]						=hidden_dropout_prob
       lowercase       : int						=attention_probs_dropout_prob
       lowercase       : Union[str, Any]						=max_position_embeddings
       lowercase       : List[Any]						=initializer_range
       lowercase       : str						=layer_norm_eps
       lowercase       : Dict						=classifier_dropout
       lowercase       : List[str]						=is_decoder
       lowercase       : str						=act_dropout











'''simple docstring'''



def 				lowercase_					(     __A			:							int      )							->   int:



 """simple docstring"""




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

  return sequence[n]


def 				lowercase_					(     __A			:							int      )							->   int:



 """simple docstring"""




 lowercase       : List[str]						=0
 lowercase       : str						=2

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

 return index


def 				lowercase_					(     __A			:							int = 1_0_0_0      )							->   int:



 """simple docstring"""




 return fibonacci_digits_index(__A      )


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



