
import re


def     UpperCamelCase      (					__lowerCamelCase  :				Optional[int]					):
       def docstring_decorator(__lowerCamelCase  :				int					):
              snake_case :     List[Any]           =   fn.__doc__
              snake_case :     int           =   func_doc.split("\n"					)
              snake_case :     Tuple           =   0
              while i < len(__lowerCamelCase					) and re.search(r"^\s*Examples?:\s*$"       ,      lines[i]					) is None:
                     i += 1
              if i < len(__lowerCamelCase					):
                     snake_case :     Tuple           =   example_docstring
                     snake_case :     Union[str, Any]           =   "\n".join(__lowerCamelCase					)
              else:
                     raise ValueError(
                         f"""The function {fn} should have an empty 'Examples:' in its docstring as placeholder, """
                         f"""current docstring is:\n{func_doc}"""					)
              snake_case :     Any           =   func_doc
              return fn

       return docstring_decorator







def     UpperCamelCase      (					__lowerCamelCase  :				int = 998001					):
       snake_case :     Optional[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					):
                     snake_case :     Tuple           =   str(i * j					)
                     if product_string == product_string[::-1] and i * j < n:
                            snake_case :     str           =   max(__lowerCamelCase       ,      i * j					)
       return answer


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





