





def 					lowerCamelCase_						(    _UpperCamelCase			)		->						list:






    """simple docstring"""


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

    snake_case_						:   Union[str, Any]           =  []

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

        generate(k - 1			,    _lowerCamelCase			)

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

    generate(len(_lowerCamelCase			)			,    _lowerCamelCase			)
    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))







from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowerCAmelCase_    =    logging.get_logger(__name__)

lowerCAmelCase_    =    {
    '''microsoft/biogpt''': '''https://huggingface.co/microsoft/biogpt/resolve/main/config.json''',
    # See all BioGPT models at https://huggingface.co/models?filter=biogpt
}



class  __lowerCAmelCase	(      _a					):
			lowerCamelCase_					:					Any	      =				'''biogpt'''






			def __init__(self ,							__magic_name__=4_2384 ,							__magic_name__=1024 ,							__magic_name__=24 ,							__magic_name__=16 ,							__magic_name__=4096 ,							__magic_name__="gelu" ,							__magic_name__=0.1 ,							__magic_name__=0.1 ,							__magic_name__=1024 ,							__magic_name__=0.02 ,							__magic_name__=1e-12 ,							__magic_name__=True ,							__magic_name__=True ,							__magic_name__=0.0 ,							__magic_name__=0.0 ,							__magic_name__=1 ,							__magic_name__=0 ,							__magic_name__=2 ,							**__magic_name__ ,							)					->       List[str]:


							'''simple docstring'''



							snake_case_						:   List[str]           =  vocab_size
							snake_case_						:   Dict           =  max_position_embeddings
							snake_case_						:   Optional[int]           =  hidden_size
							snake_case_						:   List[Any]           =  num_hidden_layers
							snake_case_						:   List[str]           =  num_attention_heads
							snake_case_						:   int           =  intermediate_size
							snake_case_						:   List[Any]           =  hidden_act
							snake_case_						:   List[Any]           =  hidden_dropout_prob
							snake_case_						:   Optional[int]           =  attention_probs_dropout_prob
							snake_case_						:   Optional[int]           =  initializer_range
							snake_case_						:   Optional[int]           =  layer_norm_eps
							snake_case_						:   str           =  scale_embedding
							snake_case_						:   Optional[Any]           =  use_cache
							snake_case_						:   Optional[Any]           =  layerdrop
							snake_case_						:   Optional[Any]           =  activation_dropout
							super().__init__(pad_token_id=__magic_name__ ,							bos_token_id=__magic_name__ ,							eos_token_id=__magic_name__ ,							**__magic_name__   )
