
from argparse import ArgumentParser

from datasets.commands.convert import ConvertCommand
from datasets.commands.dummy_data import DummyDataCommand
from datasets.commands.env import EnvironmentCommand
from datasets.commands.run_beam import RunBeamCommand
from datasets.commands.test import TestCommand
from datasets.utils.logging import set_verbosity_info



def   __SCREAMING_SNAKE_CASE (		SCREAMING_SNAKE_CASE )		-> Union[str, Any]:
		return {key.lstrip('-' ): value for key, value in zip(unknown_args[::2] ,    unknown_args[1::2] )}



def   __SCREAMING_SNAKE_CASE (		)		-> List[str]:
		SCREAMING_SNAKE_CASE_					:	Optional[Any]		  =			ArgumentParser(
		    'HuggingFace Datasets CLI tool' ,    usage='datasets-cli <command> [<args>]' ,    allow_abbrev=SCREAMING_SNAKE_CASE )
		SCREAMING_SNAKE_CASE_					:	List[str]		  =			parser.add_subparsers(help='datasets-cli command helpers' )
		set_verbosity_info()

		# Register commands
		ConvertCommand.register_subcommand(SCREAMING_SNAKE_CASE )
		EnvironmentCommand.register_subcommand(SCREAMING_SNAKE_CASE )
		TestCommand.register_subcommand(SCREAMING_SNAKE_CASE )
		RunBeamCommand.register_subcommand(SCREAMING_SNAKE_CASE )
		DummyDataCommand.register_subcommand(SCREAMING_SNAKE_CASE )

		# Parse args
		SCREAMING_SNAKE_CASE_  ,      SCREAMING_SNAKE_CASE_					:	str		  =			parser.parse_known_args()
		if not hasattr(SCREAMING_SNAKE_CASE ,    'func' ):
				parser.print_help()
				exit(1 )
		SCREAMING_SNAKE_CASE_					:	int		  =			parse_unknown_args(SCREAMING_SNAKE_CASE )

		# Run
		SCREAMING_SNAKE_CASE_					:	List[str]		  =			args.func(SCREAMING_SNAKE_CASE ,    **SCREAMING_SNAKE_CASE )
		service.run()


if __name__ == "__main__":
		main()










'''simple docstring'''

def _SCREAMING_SNAKE_CASE (A = 1_000			)			->			int:






       """simple docstring"""







       return sum(2 * a * ((a - 1) // 2) for a in range(3    ,					n + 1			)			)


if __name__ == "__main__":
 print(solution())




