





"""simple docstring"""




import logging

from transformers import PretrainedConfig


a						: Tuple     	=			logging.getLogger(__name__)


a						: Dict     	=			{
    '''bertabs-finetuned-cnndm''': '''https://huggingface.co/remi/bertabs-finetuned-cnndm-extractive-abstractive-summarization/resolve/main/config.json''',
}


class        __UpperCamelCase				(						a__						):
							lowerCamelCase   :					Optional[Any]      					="""bertabs"""






							def __init__(   self      ,					lowerCAmelCase__=3_0522      ,					lowerCAmelCase__=512      ,					lowerCAmelCase__=6      ,					lowerCAmelCase__=512      ,					lowerCAmelCase__=8      ,					lowerCAmelCase__=512      ,					lowerCAmelCase__=0.2      ,					lowerCAmelCase__=6      ,					lowerCAmelCase__=768      ,					lowerCAmelCase__=8      ,					lowerCAmelCase__=2048      ,					lowerCAmelCase__=0.2      ,					**lowerCAmelCase__      ,					)	-> int:
								super().__init__(**lowerCAmelCase__      )

								a      :		Dict	=				vocab_size
								a      :		str	=				max_pos

								a      :		str	=				enc_layers
								a      :		int	=				enc_hidden_size
								a      :		Tuple	=				enc_heads
								a      :		Dict	=				enc_ff_size
								a      :		List[Any]	=				enc_dropout

								a      :		str	=				dec_layers
								a      :		Dict	=				dec_hidden_size
								a      :		Union[str, Any]	=				dec_heads
								a      :		Union[str, Any]	=				dec_ff_size
								a      :		List[Any]	=				dec_dropout








"""simple docstring"""




def     a__ (				snake_case__				)						->					list:

			if len(snake_case__				) < 2:
						return collection

			def circle_sort_util(snake_case__       , snake_case__       , snake_case__				) -> bool:
						lowerCamelCase			      =					False

						if low == high:
									return swapped

						lowerCamelCase			      =					low
						lowerCamelCase			      =					high

						while left < right:
									if collection[left] > collection[right]:
												lowerCamelCase      ,   lowerCamelCase			      =					(
												    collection[right],
												    collection[left],
												)
												lowerCamelCase			      =					True

									left += 1
									right -= 1

						if left == right and collection[left] > collection[right + 1]:
									lowerCamelCase      ,   lowerCamelCase			      =					(
									    collection[right + 1],
									    collection[left],
									)

									lowerCamelCase			      =					True

						lowerCamelCase			      =					low + int((high - low) / 2				)
						lowerCamelCase			      =					circle_sort_util(snake_case__       , snake_case__       , snake_case__				)
						lowerCamelCase			      =					circle_sort_util(snake_case__       , mid + 1       , snake_case__				)

						return swapped or left_swap or right_swap

			lowerCamelCase			      =					True

			while is_not_sorted is True:
						lowerCamelCase			      =					circle_sort_util(snake_case__       , 0       , len(snake_case__				) - 1				)

			return collection


if __name__ == "__main__":
					lowerCAmelCase							:			Tuple     							=							input("""Enter numbers separated by a comma:\n""").strip()
					lowerCAmelCase							:			List[Any]     							=							[int(item) for item in user_input.split(""",""")]
					print(circle_sort(unsorted))



