

def a(lowercase__						):





	'''simple docstring'''

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

	snake_case_   		=			[]

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

		generate(k - 1      ,			lowercase__						)

		for i in range(k - 1						):
			if k % 2 == 0:  # k is even
				snake_case_		,							snake_case_   		=			arr[k - 1], arr[i]
			else:  # k is odd
				snake_case_		,							snake_case_   		=			arr[k - 1], arr[0]
			generate(k - 1      ,			lowercase__						)

	generate(len(lowercase__						)      ,			lowercase__						)
	return res


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



from ..utils import DummyObject, requires_backends


class SCREAMING_SNAKE_CASE	(		metaclass=__snake_case				):






			"""simple docstring"""




			__A    	=	["""flax""", """transformers"""]


			def __init__(     self			,					*__UpperCamelCase			,					**__UpperCamelCase				):

				"""simple docstring"""


				requires_backends(self			,					['flax', 'transformers']				)


			@classmethod
			def       __lowerCAmelCase			(     cls			,					*__UpperCamelCase			,					**__UpperCamelCase				):

				"""simple docstring"""


				requires_backends(cls			,					['flax', 'transformers']				)







			@classmethod
			def       __lowerCAmelCase			(     cls			,					*__UpperCamelCase			,					**__UpperCamelCase				):

				"""simple docstring"""


				requires_backends(cls			,					['flax', 'transformers']				)







class SCREAMING_SNAKE_CASE	(		metaclass=__snake_case				):






			"""simple docstring"""




			__A    	=	["""flax""", """transformers"""]


			def __init__(     self			,					*__UpperCamelCase			,					**__UpperCamelCase				):

				"""simple docstring"""


				requires_backends(self			,					['flax', 'transformers']				)


			@classmethod
			def       __lowerCAmelCase			(     cls			,					*__UpperCamelCase			,					**__UpperCamelCase				):

				"""simple docstring"""


				requires_backends(cls			,					['flax', 'transformers']				)







			@classmethod
			def       __lowerCAmelCase			(     cls			,					*__UpperCamelCase			,					**__UpperCamelCase				):

				"""simple docstring"""


				requires_backends(cls			,					['flax', 'transformers']				)







class SCREAMING_SNAKE_CASE	(		metaclass=__snake_case				):






			"""simple docstring"""




			__A    	=	["""flax""", """transformers"""]


			def __init__(     self			,					*__UpperCamelCase			,					**__UpperCamelCase				):

				"""simple docstring"""


				requires_backends(self			,					['flax', 'transformers']				)


			@classmethod
			def       __lowerCAmelCase			(     cls			,					*__UpperCamelCase			,					**__UpperCamelCase				):

				"""simple docstring"""


				requires_backends(cls			,					['flax', 'transformers']				)







			@classmethod
			def       __lowerCAmelCase			(     cls			,					*__UpperCamelCase			,					**__UpperCamelCase				):

				"""simple docstring"""


				requires_backends(cls			,					['flax', 'transformers']				)







class SCREAMING_SNAKE_CASE	(		metaclass=__snake_case				):






			"""simple docstring"""




			__A    	=	["""flax""", """transformers"""]


			def __init__(     self			,					*__UpperCamelCase			,					**__UpperCamelCase				):

				"""simple docstring"""


				requires_backends(self			,					['flax', 'transformers']				)


			@classmethod
			def       __lowerCAmelCase			(     cls			,					*__UpperCamelCase			,					**__UpperCamelCase				):

				"""simple docstring"""


				requires_backends(cls			,					['flax', 'transformers']				)







			@classmethod
			def       __lowerCAmelCase			(     cls			,					*__UpperCamelCase			,					**__UpperCamelCase				):

				"""simple docstring"""


				requires_backends(cls			,					['flax', 'transformers']				)
