



def 						_UpperCAmelCase							( ):





					"""simple docstring"""

					for a in range(3_00     ):
										for b in range(a + 1      ,		4_00     ):
															for c in range(b + 1      ,		5_00     ):
																				if (a + b + c) == 10_00 and (a**2) + (b**2) == (c**2):
																									return a * b * c

					return -1


def 						_UpperCAmelCase							( ):





					"""simple docstring"""

					for a in range(3_00     ):
										for b in range(4_00     ):
															_lowerCAmelCase         =       10_00 - a - b
															if a < b < c and (a**2) + (b**2) == (c**2):
																				return a * b * c

					return -1


def 						_UpperCAmelCase							( ):





					"""simple docstring"""

					import timeit

					print(
					    timeit.timeit("""solution()"""      ,		setup="""from __main__ import solution"""      ,		number=10_00     )     )
					print(
					    timeit.timeit(
					        """solution_fast()"""      ,		setup="""from __main__ import solution_fast"""      ,		number=10_00     )     )


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








def 						_UpperCAmelCase							( snake_case     ):





					"""simple docstring"""

					_lowerCAmelCase         =       str(snake_case     ).strip()
					if not bin_string:
										raise ValueError("""Empty string was passed to the function"""     )
					_lowerCAmelCase         =       bin_string[0] == """-"""
					if is_negative:
										_lowerCAmelCase         =       bin_string[1:]
					if not all(char in """01""" for char in bin_string     ):
										raise ValueError("""Non-binary value was passed to the function"""     )
					_lowerCAmelCase         =       0
					for char in bin_string:
										_lowerCAmelCase         =       2 * decimal_number + int(snake_case     )
					return -decimal_number if is_negative else decimal_number


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

	testmod()



