
import copy
from dataclasses import dataclass, field
from typing import ClassVar, Dict

from ..features import Audio, ClassLabel, Features
from .base import TaskTemplate



@dataclass(frozen=UpperCAmelCase_				)
class    _snake_case (						UpperCAmelCase_				):
 __lowerCAmelCase	:  str	   =      field(default='audio-classification'	,    metadata={'include_in_asdict_even_if_is_default': True}				)
 __lowerCAmelCase	:  ClassVar[Features]	   =      Features({'audio': Audio()}				)
 __lowerCAmelCase	:  ClassVar[Features]	   =      Features({'labels': ClassLabel}				)
 __lowerCAmelCase	:  str	   =      "audio"
 __lowerCAmelCase	:  str	   =      "labels"


 def   lowercase__  (       self       ,	SCREAMING_SNAKE_CASE_):


   '''simple docstring'''




   if self.label_column not in features:
     raise ValueError(f'Column {self.label_column} is not present in features.')
   if not isinstance(features[self.label_column]       ,	SCREAMING_SNAKE_CASE_):
     raise ValueError(f'Column {self.label_column} is not a ClassLabel.')
   lowercase__	: Union[str, Any]     		=   copy.deepcopy(self)
   lowercase__	: Optional[int]     		=   self.label_schema.copy()
   lowercase__	: Tuple     		=   features[self.label_column]
   lowercase__	: Optional[Any]     		=   label_schema
   return task_template



 @property
 def   lowercase__  (       self):


   '''simple docstring'''




   return {
       self.audio_column: "audio",
       self.label_column: "labels",
   }








def 		UpperCamelCase						(   lowercase_ )		->						int:


  '''simple docstring'''






  if n == 1 or not isinstance(lowercase_			,			lowercase_ ):
    return 0
  elif n == 2:
    return 1
  else:
    lowercase__	: List[Any]     		=   [0, 1]
    for i in range(2			,			n + 1 ):
      sequence.append(sequence[i - 1] + sequence[i - 2] )

    return sequence[n]

def 		UpperCamelCase						(   lowercase_ )		->						int:


  '''simple docstring'''






  lowercase__	: Optional[Any]     		=   0
  lowercase__	: Dict     		=   2

  while digits < n:
    index += 1
    lowercase__	: str     		=   len(str(fibonacci(lowercase_ ) ) )

  return index

def 		UpperCamelCase						(   lowercase_ = 10_00 )		->						int:


  '''simple docstring'''






  return fibonacci_digits_index(lowercase_ )


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






