'''simple docstring'''


import cmath
import math





def       lowerCAmelCase					(		UpperCamelCase__				:   List[str]    ,					UpperCamelCase__				:   Dict    ,					UpperCamelCase__				:   Optional[int]    ,					UpperCamelCase__				:   Tuple       ):


	"""simple docstring"""
	__UpperCAmelCase							=			math.radians(SCREAMING_SNAKE_CASE_       )
	__UpperCAmelCase							=			math.radians(SCREAMING_SNAKE_CASE_       )

	# Convert voltage and current to rectangular form
	__UpperCAmelCase							=			cmath.rect(SCREAMING_SNAKE_CASE_    ,					SCREAMING_SNAKE_CASE_       )
	__UpperCAmelCase							=			cmath.rect(SCREAMING_SNAKE_CASE_    ,					SCREAMING_SNAKE_CASE_       )

	# Calculate apparent power
	return voltage_rect * current_rect


if __name__ == "__main__":
					import doctest

					doctest.testmod()

'''simple docstring'''


def       lowerCAmelCase					(		UpperCamelCase__				:   int       ):


	"""simple docstring"""

	if not isinstance(UpperCamelCase__    ,					UpperCamelCase__       ):
		__UpperCAmelCase							=			f"""Input value of [number={number}] must be an integer"""
		raise TypeError(UpperCamelCase__       )

	if number < 1:
		__UpperCAmelCase							=			f"""Input value of [number={number}] must be > 0"""
		raise ValueError(UpperCamelCase__       )

	__UpperCAmelCase							=			1

	for i in range(1    ,					UpperCamelCase__       ):
		current_number *= 4 * i - 2
		current_number //= i + 1

	return current_number


if __name__ == "__main__":
					import doctest

					doctest.testmod()
