






from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_torch_available,
)


lowerCAmelCase_           = {
    'configuration_encodec': [
        'ENCODEC_PRETRAINED_CONFIG_ARCHIVE_MAP',
        'EncodecConfig',
    ],
    'feature_extraction_encodec': ['EncodecFeatureExtractor'],
}

try:
					if not is_torch_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					lowerCAmelCase_           = [
					    'ENCODEC_PRETRAINED_MODEL_ARCHIVE_LIST',
					    'EncodecModel',
					    'EncodecPreTrainedModel',
					]

if TYPE_CHECKING:
					from .configuration_encodec import (
					    ENCODEC_PRETRAINED_CONFIG_ARCHIVE_MAP,
					    EncodecConfig,
					)
					from .feature_extraction_encodec import EncodecFeatureExtractor

					try:
										if not is_torch_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .modeling_encodec import (
										    ENCODEC_PRETRAINED_MODEL_ARCHIVE_LIST,
										    EncodecModel,
										    EncodecPreTrainedModel,
										)

else:
					import sys

					lowerCAmelCase_           = _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)













def      snake_case		(							UpperCAmelCase	:       int   ):
				A	 =      0
				while num > 0:
								digit_sum += num % 10
								num //= 10
				return digit_sum







def      snake_case		(							UpperCAmelCase	:       int = 1_00   ):
				A	 =      1
				A	 =      2

				for i in range(2,						max_n + 1   ):
								A	 =      pre_numerator
								A	 =      2 * i // 3 if i % 3 == 0 else 1
								A	 =      cur_numerator
								A	 =      e_cont * pre_numerator + temp

				return sum_digits(UpperCAmelCase   )


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





