


'''simple docstring'''

from __future__ import annotations

from cmath import sqrt





def __snake_case      (   UpperCAmelCase_		:		int      ,       UpperCAmelCase_		:		int      ,       UpperCAmelCase_		:		int	):

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

 lowerCamelCase_  				=						(-b + sqrt(UpperCAmelCase_	)) / (2 * a)
 lowerCamelCase_  				=						(-b - sqrt(UpperCAmelCase_	)) / (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 __snake_case      (   ):
 lowerCamelCase_				,lowerCamelCase_  				=						quadratic_roots(a=5      ,       b=6      ,       c=1	)
 print(F'''The solutions are: {solutiona} and {solutiona}'''	)


if __name__ == "__main__":
     main()







'''simple docstring'''

def __snake_case      (   UpperCAmelCase_		:		int = 1000	):
 return sum(2 * a * ((a - 1) // 2) for a in range(3      ,       n + 1	)	)


if __name__ == "__main__":
     print(solution())



