'''simple docstring'''




def __lowerCAmelCase (							UpperCamelCase__				)	->    int:







    if num < 0:
        return False

    __lowerCamelCase		=  num
    __lowerCamelCase		=  0
    while num > 0:
        __lowerCamelCase		=  rev_num * 10 + (num % 10)
        num //= 10

    return num_copy == rev_num


if __name__ == "__main__":
  import doctest

  doctest.testmod()



def 			UpperCAmelCase__				(			):





  '''simple docstring'''







  return [
      a * b * (10_00 - a - b)
      for a in range(1	,      9_99							)
      for b in range(_A	,      9_99							)
      if (a * a + b * b == (10_00 - a - b) ** 2)
  ][0]


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