'''simple docstring'''




def 			UpperCamelCase_							(      _UpperCAmelCase						:   Union[str, Any] = 998_001					)					->					int:


       """simple docstring"""







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


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


'''simple docstring'''




import abc
import copy
import dataclasses
from dataclasses import dataclass
from typing import ClassVar, Dict, Type, TypeVar

from ..features import Features


__SCREAMING_SNAKE_CASE :  Any  =						TypeVar("""T""", bound="""TaskTemplate""")

@dataclass(frozen=snake_case__					)
class 			lowerCamelCase_			(abc.ABC					):
      '''simple docstring'''

      __UpperCamelCase:						str
      __UpperCamelCase:						ClassVar[Features]
      __UpperCamelCase:						ClassVar[Features]




      def   _A			( self		:       T		,      A		:       Features ):
             return copy.deepcopy(self )




      @property
      def   _A			( self		:       List[str] ):
             return Features(**self.input_schema		,      **self.label_schema )




      @property
      @abc.abstractmethod
      def   _A			( self		:       Optional[int] ):
             raise NotImplementedError





      @classmethod
      def   _A			( cls		:       Type[T]		,      A		:       dict ):
             _UpperCAmelCase  :						Optional[Any]							   =					{f.name for f in dataclasses.fields(cls )}
             return cls(**{k: v for k, v in template_dict.items() if k in field_names} )

