






def    __magic_name__    (	SCREAMING_SNAKE_CASE				)     ->    list:

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

							_lowercase							:   List[Any] 							=   []

							def generate(SCREAMING_SNAKE_CASE     ,     SCREAMING_SNAKE_CASE				):
														_lowercase							:   Tuple 							=   [0] * n
														res.append(tuple(SCREAMING_SNAKE_CASE				)				)

														_lowercase							:   int 							=   0
														while i < n:
																					if c[i] < i:
																												if i % 2 == 0:
																																			_lowercase							,							_lowercase							:   Optional[Any] 							=   arr[i], arr[0]
																												else:
																																			_lowercase							,							_lowercase							:   Union[str, Any] 							=   arr[i], arr[c[i]]
																												res.append(tuple(SCREAMING_SNAKE_CASE				)				)
																												c[i] += 1
																												_lowercase							:   Tuple 							=   0
																					else:
																												_lowercase							:   str 							=   0
																												i += 1

							generate(len(SCREAMING_SNAKE_CASE				)     ,     SCREAMING_SNAKE_CASE				)
							return res


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









"""simple docstring"""






from ...configuration_utils import PretrainedConfig



class     UpperCAmelCase    (	__SCREAMING_SNAKE_CASE  ):
   A__		:	str           =  '''bert-generation'''



   def __init__(       self    :	Tuple							,       __lowerCamelCase    :	Optional[int]=5_0_3_5_8							,       __lowerCamelCase    :	List[str]=1_0_2_4							,       __lowerCamelCase    :	Optional[Any]=2_4							,       __lowerCamelCase    :	Any=1_6							,       __lowerCamelCase    :	Union[str, Any]=4_0_9_6							,       __lowerCamelCase    :	Optional[Any]="gelu"							,       __lowerCamelCase    :	str=0.1							,       __lowerCamelCase    :	List[str]=0.1							,       __lowerCamelCase    :	int=5_1_2							,       __lowerCamelCase    :	Dict=0.0_2							,       __lowerCamelCase    :	Tuple=1E-12							,       __lowerCamelCase    :	Any=0							,       __lowerCamelCase    :	Union[str, Any]=2							,       __lowerCamelCase    :	List[Any]=1							,       __lowerCamelCase    :	Optional[Any]="absolute"							,       __lowerCamelCase    :	str=True							,       **__lowerCamelCase    :	List[Any]							,       ):



     """simple docstring"""
     super().__init__(pad_token_id=__lowerCamelCase							,       bos_token_id=__lowerCamelCase							,       eos_token_id=__lowerCamelCase							,       **__lowerCamelCase				)

     _snake_case   	=      vocab_size
     _snake_case   	=      hidden_size
     _snake_case   	=      num_hidden_layers
     _snake_case   	=      num_attention_heads
     _snake_case   	=      hidden_act
     _snake_case   	=      intermediate_size
     _snake_case   	=      hidden_dropout_prob
     _snake_case   	=      attention_probs_dropout_prob
     _snake_case   	=      max_position_embeddings
     _snake_case   	=      initializer_range
     _snake_case   	=      layer_norm_eps
     _snake_case   	=      position_embedding_type
     _snake_case   	=      use_cache





