


from ....configuration_utils import PretrainedConfig
from ....utils import logging


UpperCAmelCase_				:			Tuple   =	logging.get_logger(__name__)

UpperCAmelCase_				:			Union[str, Any]   =	{
    'Visual-Attention-Network/van-base': (
        'https://huggingface.co/Visual-Attention-Network/van-base/blob/main/config.json'
    ),
}
class 			SCREAMING_SNAKE_CASE__  (    lowercase__      ):
      snake_case__    :					List[str]					       =						'''van'''
      def __init__(	self    :	List[str]					,							SCREAMING_SNAKE_CASE__    :	List[str]=2_2_4					,							SCREAMING_SNAKE_CASE__    :	Optional[Any]=3					,							SCREAMING_SNAKE_CASE__    :	Dict=[7, 3, 3, 3]					,							SCREAMING_SNAKE_CASE__    :	Optional[Any]=[4, 2, 2, 2]					,							SCREAMING_SNAKE_CASE__    :	str=[6_4, 1_2_8, 3_2_0, 5_1_2]					,							SCREAMING_SNAKE_CASE__    :	List[Any]=[3, 3, 1_2, 3]					,							SCREAMING_SNAKE_CASE__    :	int=[8, 8, 4, 4]					,							SCREAMING_SNAKE_CASE__    :	List[Any]="gelu"					,							SCREAMING_SNAKE_CASE__    :	List[Any]=0.02					,							SCREAMING_SNAKE_CASE__    :	List[Any]=1E-6					,							SCREAMING_SNAKE_CASE__    :	List[str]=1E-2					,							SCREAMING_SNAKE_CASE__    :	int=0.0					,							SCREAMING_SNAKE_CASE__    :	Union[str, Any]=0.0					,							**SCREAMING_SNAKE_CASE__    :	List[str]					,							)		->      Any:
             super().__init__(**SCREAMING_SNAKE_CASE__					)
             a_ :		int							=  image_size
             a_ :		Dict							=  num_channels
             a_ :		Optional[Any]							=  patch_sizes
             a_ :		List[Any]							=  strides
             a_ :		int							=  hidden_sizes
             a_ :		List[Any]							=  depths
             a_ :		int							=  mlp_ratios
             a_ :		str							=  hidden_act
             a_ :		str							=  initializer_range
             a_ :		Union[str, Any]							=  layer_norm_eps
             a_ :		List[Any]							=  layer_scale_init_value
             a_ :		List[str]							=  drop_path_rate
             a_ :		str							=  dropout_rate






def 	SCREAMING_SNAKE_CASE_						(      __A			:      int    )     ->		int:

       """simple docstring"""

       if n == 1 or not isinstance(__A  ,   __A    ):
              return 0
       elif n == 2:
              return 1
       else:
              a_ :		int							=  [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:

       """simple docstring"""

       a_ :		Any							=  0
       a_ :		Optional[Any]							=  2

       while digits < n:
              index += 1
              a_ :		List[Any]							=  len(str(fibonacci(__A    )    )    )

       return index







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

       """simple docstring"""

       return fibonacci_digits_index(__A    )


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


