



"""simple docstring"""

def __lowercase			(							_a    ):

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

    snake_case_ :     Optional[int]				=	[]

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

        generate(k - 1		,			_a    )

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

    generate(len(_a    )		,			_a    )
    return res


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










"""simple docstring"""

import numpy as np




def __lowercase			(							_a    ):
    return (2 / (1 + np.exp(-2 * vector    ))) - 1


if __name__ == "__main__":
     import doctest

     doctest.testmod()





