
import math

from numpy import inf
from scipy.integrate import quad

def 		UpperCamelCase	(      lowercase_   )		->	float:


  '''simple docstring'''






  if num <= 0:
    raise ValueError("""math domain error"""   )

  return quad(lowercase_ , 0 , lowercase_ , args=(lowercase_)   )[0]

def 		UpperCamelCase	(      lowercase_ , lowercase_   )		->	float:


  '''simple docstring'''






  return math.pow(lowercase_ , z - 1   ) * math.exp(-x   )


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

     testmod()








def 		UpperCamelCase	(      lowercase_ = 10_00   )		->	int:


  '''simple docstring'''






  return sum(2 * a * ((a - 1) // 2) for a in range(3 , n + 1   )   )


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






