




from __future__ import annotations

from enum import Enum






class 					__lowerCAmelCase				( UpperCAmelCase__				):
			snake_case_   :				Any				  =  24
			snake_case_   :				str				  =  21
			snake_case_   :				int				  =  18
			snake_case_   :				Tuple				  =  15
			snake_case_   :				Optional[Any]				  =  12
			snake_case_   :				Tuple				  =  9
			snake_case_   :				Dict				  =  6
			snake_case_   :				Any				  =  3
			snake_case_   :				Tuple				  =  2
			snake_case_   :				Tuple				  =  1
			snake_case_   :				str				  =  -1
			snake_case_   :				List[Any]				  =  -2
			snake_case_   :				Tuple				  =  -3
			snake_case_   :				Union[str, Any]				  =  -6
			snake_case_   :				Any				  =  -9
			snake_case_   :				List[str]				  =  -12
			snake_case_   :				Union[str, Any]				  =  -15
			snake_case_   :				str				  =  -18
			snake_case_   :				Optional[Any]				  =  -21
			snake_case_   :				Dict				  =  -24






class 					__lowerCAmelCase				( UpperCAmelCase__				):
			snake_case_   :				List[Any]				  =  8
			snake_case_   :				int				  =  7
			snake_case_   :				Union[str, Any]				  =  6
			snake_case_   :				Tuple				  =  5
			snake_case_   :				List[Any]				  =  4
			snake_case_   :				List[str]				  =  3
			snake_case_   :				str				  =  2
			snake_case_   :				List[str]				  =  1




def 							__SCREAMING_SNAKE_CASE						(    snake_case_			,					snake_case_			,					snake_case_			,					):

						'''simple docstring'''


						if isinstance(snake_case_			,					snake_case_		):
												_UpperCAmelCase									=  SIUnit[known_prefix.lower()]
						if isinstance(snake_case_			,					snake_case_		):
												_UpperCAmelCase									=  SIUnit[unknown_prefix.lower()]
						_UpperCAmelCase									=  known_amount * (
						    10 ** (known_prefix.value - unknown_prefix.value)
						)
						return unknown_amount


def 							__SCREAMING_SNAKE_CASE						(    snake_case_			,					snake_case_			,					snake_case_			,					):

						'''simple docstring'''


						if isinstance(snake_case_			,					snake_case_		):
												_UpperCAmelCase									=  BinaryUnit[known_prefix.lower()]
						if isinstance(snake_case_			,					snake_case_		):
												_UpperCAmelCase									=  BinaryUnit[unknown_prefix.lower()]
						_UpperCAmelCase									=  known_amount * (
						    2 ** ((known_prefix.value - unknown_prefix.value) * 10)
						)
						return unknown_amount


if __name__ == "__main__":
				import doctest

				doctest.testmod()










def 							__SCREAMING_SNAKE_CASE						(    snake_case_ = 99_8001		):

						'''simple docstring'''


						for number in range(n - 1			,					9999			,					-1		):
												_UpperCAmelCase									=  str(snake_case_		)

												# checks whether 'str_number' is a palindrome.
												if str_number == str_number[::-1]:
																		_UpperCAmelCase									=  999

																		# if 'number' is a product of two 3-digit numbers
																		# then number is the answer otherwise fetch next number.
																		while divisor != 99:
																								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() = }""")




