






"""simple docstring"""

from argparse import ArgumentParser

from accelerate.commands.config import get_config_parser
from accelerate.commands.env import env_command_parser
from accelerate.commands.launch import launch_command_parser
from accelerate.commands.test import test_command_parser
from accelerate.commands.tpu import tpu_command_parser






def _lowerCAmelCase	(  ):

						'''simple docstring'''






						__magic_name__            =     ArgumentParser("Accelerate CLI tool" ,						usage="accelerate <command> [<args>]" ,						allow_abbrev=__lowerCamelCase   )
						__magic_name__            =     parser.add_subparsers(help="accelerate command helpers"   )

						# Register commands
						get_config_parser(subparsers=__lowerCamelCase   )
						env_command_parser(subparsers=__lowerCamelCase   )
						launch_command_parser(subparsers=__lowerCamelCase   )
						tpu_command_parser(subparsers=__lowerCamelCase   )
						test_command_parser(subparsers=__lowerCamelCase   )

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

						if not hasattr(__lowerCamelCase ,						"func"   ):
												parser.print_help()
												exit(1   )

						# Run
						args.func(__lowerCamelCase   )


if __name__ == "__main__":
			main()











"""simple docstring"""

def _lowerCAmelCase	(  __lowerCamelCase:list   ):

						'''simple docstring'''






						__magic_name__            =     len(__lowerCamelCase   )
						for i in range(1 ,						__lowerCamelCase   ):
												__magic_name__            =     collection[i]
												__magic_name__            =     0
												__magic_name__            =     i - 1

												while low <= high:
																		__magic_name__            =     (low + high) // 2
																		if val < collection[mid]:
																								__magic_name__            =     mid - 1
																		else:
																								__magic_name__            =     mid + 1
												for j in range(__lowerCamelCase ,						__lowerCamelCase ,						-1   ):
																		__magic_name__            =     collection[j - 1]
												__magic_name__            =     val
						return collection


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



