"""simple docstring"""
def 		__a  (      _SCREAMING_SNAKE_CASE = 998001  )      ->int:
  a__:	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  ):
      a__:	Optional[Any]     				=      str(i * j  )
      if product_string == product_string[::-1] and i * j < n:
        a__:	Any     				=      max(_SCREAMING_SNAKE_CASE						,	i * j  )
  return answer


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









def        A__						(							SCREAMING_SNAKE_CASE_ = 1_0_0_0		) ->  int:
		lowerCamelCase :			Dict    		=[]
		lowerCamelCase :			Dict    		=[]
		lowerCamelCase :			Union[str, Any]    		=3
		lowerCamelCase :			List[str]    		=5
		lowerCamelCase :			Union[str, Any]    		=1
		while True:
				lowerCamelCase :			Dict    		=z * temp
				if result < n:
						zmulti.append(SCREAMING_SNAKE_CASE_		)
						temp += 1
				else:
						lowerCamelCase :			List[Any]    		=1
						break
		while True:
				lowerCamelCase :			Optional[Any]    		=x * temp
				if result < n:
						xmulti.append(SCREAMING_SNAKE_CASE_		)
						temp += 1
				else:
						break
		lowerCamelCase :			str    		=list(set(xmulti + zmulti		)		)
		return sum(SCREAMING_SNAKE_CASE_		)


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

