from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_tf_available, is_torch_available


_SCREAMING_SNAKE_CASE:						Union[str, Any]    	=       {'''configuration_hubert''': ['''HUBERT_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''HubertConfig''']}

try:
			if not is_torch_available():
						raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
			pass
else:
			_SCREAMING_SNAKE_CASE:						Dict    	=       [
			    '''HUBERT_PRETRAINED_MODEL_ARCHIVE_LIST''',
			    '''HubertForCTC''',
			    '''HubertForSequenceClassification''',
			    '''HubertModel''',
			    '''HubertPreTrainedModel''',
			]


try:
			if not is_tf_available():
						raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
			pass
else:
			_SCREAMING_SNAKE_CASE:						Dict    	=       [
			    '''TF_HUBERT_PRETRAINED_MODEL_ARCHIVE_LIST''',
			    '''TFHubertForCTC''',
			    '''TFHubertModel''',
			    '''TFHubertPreTrainedModel''',
			]

if TYPE_CHECKING:
			from .configuration_hubert import HUBERT_PRETRAINED_CONFIG_ARCHIVE_MAP, HubertConfig

			try:
						if not is_torch_available():
									raise OptionalDependencyNotAvailable()
			except OptionalDependencyNotAvailable:
						pass
			else:
						from .modeling_hubert import (
						    HUBERT_PRETRAINED_MODEL_ARCHIVE_LIST,
						    HubertForCTC,
						    HubertForSequenceClassification,
						    HubertModel,
						    HubertPreTrainedModel,
						)

			try:
						if not is_tf_available():
									raise OptionalDependencyNotAvailable()
			except OptionalDependencyNotAvailable:
						pass
			else:
						from .modeling_tf_hubert import (
						    TF_HUBERT_PRETRAINED_MODEL_ARCHIVE_LIST,
						    TFHubertForCTC,
						    TFHubertModel,
						    TFHubertPreTrainedModel,
						)


else:
			import sys

			_SCREAMING_SNAKE_CASE:						str    	=       _LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)


from math import gcd






def    UpperCAmelCase__(						lowerCamelCase_ = 12000  ):



			"""simple docstring"""





			_snake_case              =      0
			for d in range(max_d + 1  ):
						for n in range(d // 3 + 1							,	(d + 1) // 2  ):
									if gcd(lowerCamelCase_							,	lowerCamelCase_  ) == 1:
												fractions_number += 1
			return fractions_number


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

