



from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


UpperCAmelCase_		   =				{
    """configuration_wav2vec2_conformer""": [
        """WAV2VEC2_CONFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP""",
        """Wav2Vec2ConformerConfig""",
    ],
}


try:
			if not is_torch_available():
						raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
			pass
else:
			UpperCAmelCase_		   =				[
			    """WAV2VEC2_CONFORMER_PRETRAINED_MODEL_ARCHIVE_LIST""",
			    """Wav2Vec2ConformerForAudioFrameClassification""",
			    """Wav2Vec2ConformerForCTC""",
			    """Wav2Vec2ConformerForPreTraining""",
			    """Wav2Vec2ConformerForSequenceClassification""",
			    """Wav2Vec2ConformerForXVector""",
			    """Wav2Vec2ConformerModel""",
			    """Wav2Vec2ConformerPreTrainedModel""",
			]

if TYPE_CHECKING:
			from .configuration_wavaveca_conformer import (
			    WAV2VEC2_CONFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP,
			    WavaVecaConformerConfig,
			)

			try:
						if not is_torch_available():
									raise OptionalDependencyNotAvailable()
			except OptionalDependencyNotAvailable:
						pass
			else:
						from .modeling_wavaveca_conformer import (
						    WAV2VEC2_CONFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
						    WavaVecaConformerForAudioFrameClassification,
						    WavaVecaConformerForCTC,
						    WavaVecaConformerForPreTraining,
						    WavaVecaConformerForSequenceClassification,
						    WavaVecaConformerForXVector,
						    WavaVecaConformerModel,
						    WavaVecaConformerPreTrainedModel,
						)

else:
			import sys

			UpperCAmelCase_		   =				_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)








import math
from decimal import Decimal, getcontext

def   SCREAMING_SNAKE_CASE_       (  _snake_case  :int = 4_000_000							)     ->    int:

   try:
      _A						     =					int(_snake_case							)
   except (TypeError, ValueError):
      raise TypeError('''Parameter n must be int or castable to int.'''							)
   if n <= 0:
      raise ValueError('''Parameter n must be greater than or equal to one.'''							)
   _A						     =					100
   _A						     =					(Decimal(5							) ** Decimal(0.5							) + 1) / Decimal(2							)

   _A						     =					(math.floor(math.log(n * (phi + 2)  ,      _snake_case							) - 1							) // 3) * 3 + 2
   _A						     =					Decimal(round(phi ** Decimal(index + 1							)							)							) / (phi + 2)
   _A						     =					num // 2
   return int(_snake_case							)


if __name__ == "__main__":
   print(f'{solution() = }')



