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


snake_case__					=				logging.get_logger(__name__)

snake_case__					=				{
    'abeja/gpt-neox-japanese-2.7b': 'https://huggingface.co/abeja/gpt-neox-japanese-2.7b/resolve/main/config.json',
}







class 				UpperCAmelCase						( _lowerCAmelCase       ):
					a__:			Union[str, Any]      	=					"""gpt_neox_japanese"""

					def __init__(      self   :       List[Any]			,   lowerCAmelCase   :       str=3_2000			,   lowerCAmelCase   :       int=2560			,   lowerCAmelCase   :       List[Any]=32			,   lowerCAmelCase   :       Tuple=32			,   lowerCAmelCase   :       Union[str, Any]=4			,   lowerCAmelCase   :       List[Any]="gelu"			,   lowerCAmelCase   :       Any=1.00			,   lowerCAmelCase   :       List[Any]=1_0000			,   lowerCAmelCase   :       Tuple=2048			,   lowerCAmelCase   :       Optional[int]=0.02			,   lowerCAmelCase   :       int=1E-5			,   lowerCAmelCase   :       str=True			,   lowerCAmelCase   :       Dict=3_1996			,   lowerCAmelCase   :       Dict=3_1999			,   lowerCAmelCase   :       Any=0.1			,   lowerCAmelCase   :       Optional[Any]=0.0			,   **lowerCAmelCase   :       List[str]			,   ):
											super().__init__(bos_token_id=SCREAMING_SNAKE_CASE_			,   eos_token_id=SCREAMING_SNAKE_CASE_			,   **SCREAMING_SNAKE_CASE_       )
											lowercase							:     List[Any]									=	vocab_size
											lowercase							:     Dict									=	max_position_embeddings
											lowercase							:     Any									=	hidden_size
											lowercase							:     List[str]									=	num_hidden_layers
											lowercase							:     Tuple									=	num_attention_heads
											lowercase							:     List[str]									=	intermediate_multiple_size
											lowercase							:     List[Any]									=	hidden_act
											lowercase							:     Tuple									=	rotary_pct
											lowercase							:     List[Any]									=	rotary_emb_base
											lowercase							:     Dict									=	initializer_range
											lowercase							:     Dict									=	layer_norm_eps
											lowercase							:     Union[str, Any]									=	use_cache
											lowercase							:     Dict									=	attention_dropout
											lowercase							:     List[Any]									=	hidden_dropout







def  lowerCAmelCase_	(lowerCAmelCase__:		list  ):





			"""simple docstring"""


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

			UpperCAmelCase_:		List[Any]							      =     []

			def generate(lowerCAmelCase__:		int		,						lowerCAmelCase__:		list  ):
						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
												UpperCAmelCase_      ,							UpperCAmelCase_:		Union[str, Any]							      =     arr[k - 1], arr[i]
									else:  # k is odd
												UpperCAmelCase_      ,							UpperCAmelCase_:		Optional[int]							      =     arr[k - 1], arr[0]
									generate(k - 1		,						lowerCAmelCase__  )

			generate(len(lowerCAmelCase__  )		,						lowerCAmelCase__  )
			return res


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






