




def 					_a							(					lowerCAmelCase )->	Optional[Any]:
		SCREAMING_SNAKE_CASE_      ,				SCREAMING_SNAKE_CASE_					      =							[], []
		while len(lowerCAmelCase ) > 1:
				SCREAMING_SNAKE_CASE_      ,				SCREAMING_SNAKE_CASE_					      =							min(lowerCAmelCase ), max(lowerCAmelCase )
				start.append(lowerCAmelCase )
				end.append(lowerCAmelCase )
				collection.remove(lowerCAmelCase )
				collection.remove(lowerCAmelCase )
		end.reverse()
		return start + collection + end


if __name__ == "__main__":
						SCREAMING_SNAKE_CASE:     Optional[int]									= input('''Enter numbers separated by a comma:\n''').strip()
						SCREAMING_SNAKE_CASE:     int									= [int(item) for item in user_input.split(''',''')]
						print(*merge_sort(unsorted), sep=''',''')
from argparse import ArgumentParser

from .env import EnvironmentCommand





def 							UpperCAmelCase		(       ):







				"""simple docstring"""



				__lowercase					     =				ArgumentParser('''Diffusers CLI tool'''				,     usage='''diffusers-cli <command> [<args>]'''				)
				__lowercase					     =				parser.add_subparsers(help='''diffusers-cli command helpers'''				)

				# Register commands
				EnvironmentCommand.register_subcommand(lowercase				)

				# Let's go
				__lowercase					     =				parser.parse_args()

				if not hasattr(lowercase				,     '''func'''				):
								parser.print_help()
								exit(1				)

				# Run
				__lowercase					     =				args.func(lowercase				)
				service.run()


if __name__ == "__main__":
		main()