
from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


__SCREAMING_SNAKE_CASE     :				Optional[int]      	=       {'configuration_qdqbert': ['QDQBERT_PRETRAINED_CONFIG_ARCHIVE_MAP', 'QDQBertConfig']}

try:
		if not is_torch_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		__SCREAMING_SNAKE_CASE     :				Union[str, Any]      	=       [
		    'QDQBERT_PRETRAINED_MODEL_ARCHIVE_LIST',
		    'QDQBertForMaskedLM',
		    'QDQBertForMultipleChoice',
		    'QDQBertForNextSentencePrediction',
		    'QDQBertForQuestionAnswering',
		    'QDQBertForSequenceClassification',
		    'QDQBertForTokenClassification',
		    'QDQBertLayer',
		    'QDQBertLMHeadModel',
		    'QDQBertModel',
		    'QDQBertPreTrainedModel',
		    'load_tf_weights_in_qdqbert',
		]


if TYPE_CHECKING:
		from .configuration_qdqbert import QDQBERT_PRETRAINED_CONFIG_ARCHIVE_MAP, QDQBertConfig

		try:
				if not is_torch_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .modeling_qdqbert import (
				    QDQBERT_PRETRAINED_MODEL_ARCHIVE_LIST,
				    QDQBertForMaskedLM,
				    QDQBertForMultipleChoice,
				    QDQBertForNextSentencePrediction,
				    QDQBertForQuestionAnswering,
				    QDQBertForSequenceClassification,
				    QDQBertForTokenClassification,
				    QDQBertLayer,
				    QDQBertLMHeadModel,
				    QDQBertModel,
				    QDQBertPreTrainedModel,
				    load_tf_weights_in_qdqbert,
				)


else:
		import sys

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


def       UpperCAmelCase__							(    __magic_name__  :       int = 99_80_01					):


					'''simple docstring'''

					lowerCAmelCase						:   Tuple							=       0
					for i in range(9_99							,					99							,					-1					):  # 3 digit numbers range from 999 down to 100
										for j in range(9_99							,					99							,					-1					):
															lowerCAmelCase						:   Any							=       str(i * j					)
															if product_string == product_string[::-1] and i * j < n:
																				lowerCAmelCase						:   Optional[int]							=       max(__magic_name__							,					i * j					)
					return answer


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