





from __future__ import annotations

from cmath import sqrt







def       UpperCAmelCase							(     _lowerCamelCase      :  int			,   _lowerCamelCase      :  int			,   _lowerCamelCase      :  int     ):





						'''simple docstring'''


						if a == 0:
												raise ValueError("Coefficient 'a' must not be zero."     )
						SCREAMING_SNAKE_CASE__     :				str   =					b * b - 4 * a * c

						SCREAMING_SNAKE_CASE__     :				int   =					(-b + sqrt(_lowerCamelCase     )) / (2 * a)
						SCREAMING_SNAKE_CASE__     :				Dict   =					(-b - sqrt(_lowerCamelCase     )) / (2 * a)

						return (
						    root_a.real if not root_a.imag else root_a,
						    root_a.real if not root_a.imag else root_a,
						)







def       UpperCAmelCase							(     ):





						'''simple docstring'''


						SCREAMING_SNAKE_CASE__,							SCREAMING_SNAKE_CASE__     :				int   =					quadratic_roots(a=5			,   b=6			,   c=1     )
						print(f"""The solutions are: {solutiona} and {solutiona}"""     )


if __name__ == "__main__":
				main()






def       UpperCAmelCase							(     _lowerCamelCase      :  int = 1_000     ):





						'''simple docstring'''


						SCREAMING_SNAKE_CASE__     :				Dict   =					-1
						SCREAMING_SNAKE_CASE__     :				str   =					0
						for a in range(1			,   n // 3     ):
												# Solving the two equations a**2+b**2=c**2 and a+b+c=N eliminating c
												SCREAMING_SNAKE_CASE__     :				Tuple   =					(n * n - 2 * a * n) // (2 * n - 2 * a)
												SCREAMING_SNAKE_CASE__     :				Dict   =					n - a - b
												if c * c == (a * a + b * b):
																		SCREAMING_SNAKE_CASE__     :				str   =					a * b * c
																		if candidate >= product:
																								SCREAMING_SNAKE_CASE__     :				List[str]   =					candidate
						return product


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