

'''simple docstring'''
def  a__       (    _SCREAMING_SNAKE_CASE   :       list				)     ->					list:


	"""simple docstring"""





	if len(_SCREAMING_SNAKE_CASE				) <= 1:
		return [tuple(_SCREAMING_SNAKE_CASE				)]

	UpperCAmelCase_     :      List[str]						=  []

	def generate(_SCREAMING_SNAKE_CASE   :       int	,				_SCREAMING_SNAKE_CASE   :       list				):
		if k == 1:
			res.append(tuple(arr[:]				)				)
			return

		generate(k - 1	,				_SCREAMING_SNAKE_CASE				)

		for i in range(k - 1				):
			if k % 2 == 0:  # k is even
				UpperCAmelCase_					,					UpperCAmelCase_     :      Optional[int]						=  arr[k - 1], arr[i]
			else:  # k is odd
				UpperCAmelCase_					,					UpperCAmelCase_     :      Union[str, Any]						=  arr[k - 1], arr[0]
			generate(k - 1	,				_SCREAMING_SNAKE_CASE				)

	generate(len(_SCREAMING_SNAKE_CASE				)	,				_SCREAMING_SNAKE_CASE				)
	return res


if __name__ == "__main__":
					_lowerCamelCase      					=     input("""Enter numbers separated by a comma:\n""").strip()
					_lowerCamelCase      					=     [int(item) for item in user_input.split(""",""")]
					print(heaps(arr))












'''simple docstring'''







import cmath
import math


def       __UpperCamelCase					(      lowercase_       :  float   ,       lowercase_       :  float   ,       lowercase_       :  float   ,       lowercase_       :  float   ):
       """simple docstring"""




       a_						     =			math.radians(lowercase_   )
       a_						     =			math.radians(lowercase_   )

       # Convert voltage and current to rectangular form
       a_						     =			cmath.rect(lowercase_   ,       lowercase_   )
       a_						     =			cmath.rect(lowercase_   ,       lowercase_   )

       # Calculate apparent power
       return voltage_rect * current_rect


if __name__ == "__main__":
  import doctest

  doctest.testmod()




