




"""simple docstring"""
def 				__lowerCAmelCase					(					__lowerCAmelCase			:		int = 998001						)    ->       int:

 # fetches the next number
 for number in range(n - 1  ,	9999  ,	-1						):
  _UpperCamelCase      :	Tuple					      =  str(__lowerCAmelCase						)

  # checks whether 'str_number' is a palindrome.
  if str_number == str_number[::-1]:
   _UpperCamelCase      :	List[Any]					      =  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() = }')









"""simple docstring"""
import warnings

from ...utils import logging
from .image_processing_layoutlmva import LayoutLMvaImageProcessor


_SCREAMING_SNAKE_CASE						 =     logging.get_logger(__name__)







class  _SCREAMING_SNAKE_CASE       (     SCREAMING_SNAKE_CASE__				):



 '''simple docstring'''





 def __init__(self					,     *lowerCAmelCase__					,     **lowerCAmelCase__   ):

  '''simple docstring'''







  warnings.warn(
      "The class LayoutLMv3FeatureExtractor is deprecated and will be removed in version 5 of Transformers."
      " Please use LayoutLMv3ImageProcessor instead."					,     lowerCAmelCase__					,     )
  super().__init__(*lowerCAmelCase__					,     **lowerCAmelCase__   )



