
'''simple docstring'''





def 							snake_case				(		UpperCAmelCase = 9_9_8_0_0_1						)->      int:







      """simple docstring"""

      # fetches the next number
      for number in range(n - 1   ,	9_9_9_9   ,	-1						):
            __A													=      str(UpperCAmelCase						)

            # checks whether 'str_number' is a palindrome.
            if str_number == str_number[::-1]:
                  __A													=      9_9_9

                  # if 'number' is a product of two 3-digit numbers
                  # then number is the answer otherwise fetch next number.
                  while divisor != 9_9:
                        if (number % divisor == 0) and (len(str(number // divisor						)						) == 3.0):
                              return number
                        divisor -= 1
      raise ValueError('That number is larger than our acceptable range.'						)


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












'''simple docstring'''

from typing import TYPE_CHECKING

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


a__         =     {'''configuration_cvt''': ['''CVT_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''CvtConfig''']}


try:
		if not is_torch_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		a__         =     [
		    '''CVT_PRETRAINED_MODEL_ARCHIVE_LIST''',
		    '''CvtForImageClassification''',
		    '''CvtModel''',
		    '''CvtPreTrainedModel''',
		]

try:
		if not is_tf_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		a__         =     [
		    '''TF_CVT_PRETRAINED_MODEL_ARCHIVE_LIST''',
		    '''TFCvtForImageClassification''',
		    '''TFCvtModel''',
		    '''TFCvtPreTrainedModel''',
		]

if TYPE_CHECKING:
		from .configuration_cvt import CVT_PRETRAINED_CONFIG_ARCHIVE_MAP, CvtConfig

		try:
				if not is_torch_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .modeling_cvt import (
				    CVT_PRETRAINED_MODEL_ARCHIVE_LIST,
				    CvtForImageClassification,
				    CvtModel,
				    CvtPreTrainedModel,
				)

		try:
				if not is_tf_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .modeling_tf_cvt import (
				    TF_CVT_PRETRAINED_MODEL_ARCHIVE_LIST,
				    TFCvtForImageClassification,
				    TFCvtModel,
				    TFCvtPreTrainedModel,
				)


else:
		import sys

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