a_					      = {hex(i)[2:]: i for i in range(16)}  # Use [:2] to strip off the leading '0x'





def      __lowercase  (		lowerCamelCase      :  List[str]			):
 UpperCamelCase_      :		List[Any]				=      hex_string.strip().lower()
 if not hex_string:
  raise ValueError('Empty string was passed to the function'			)
 UpperCamelCase_      :		List[str]				=      hex_string[0] == '''-'''
 if is_negative:
  UpperCamelCase_      :		Any				=      hex_string[1:]
 if not all(char in hex_table for char in hex_string			):
  raise ValueError('Non-hexadecimal value was passed to the function'			)
 UpperCamelCase_      :		str				=      0
 for char in hex_string:
  UpperCamelCase_      :		Optional[int]				=      16 * decimal_number + hex_table[char]
 return -decimal_number if is_negative else decimal_number


if __name__ == "__main__":
   from doctest import testmod

   testmod()




def      __lowercase  (		lowerCamelCase      :  int = 998001			):
 UpperCamelCase_      :		int				=      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_      :		str				=      str(i * j			)
   if product_string == product_string[::-1] and i * j < n:
    UpperCamelCase_      :		str				=      max(lowerCamelCase						,						i * j			)
 return answer


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



