



"""simple docstring"""






import os

# Precomputes a list of the 100 first triangular numbers
lowerCAmelCase__              =							[int(0.5 * n * (n + 1)) for n in range(1, 101)]






def 			snake_case_    ( ):


       '''simple docstring'''





       _lowerCamelCase		:							Optional[int]            =					os.path.dirname(os.path.realpath(SCREAMING_SNAKE_CASE_		)		)
       _lowerCamelCase		:							Optional[Any]            =					os.path.join(SCREAMING_SNAKE_CASE_,							'''words.txt'''		)

       _lowerCamelCase		:							str            =					''''''
       with open(SCREAMING_SNAKE_CASE_		) as f:
              _lowerCamelCase		:							Any            =					f.readline()

       _lowerCamelCase		:							int            =					[word.strip('''\"'''		) for word in words.strip('''\r\n'''		).split(''','''		)]
       _lowerCamelCase		:							str            =					[
           word
           for word in [sum(ord(SCREAMING_SNAKE_CASE_		) - 64 for x in word		) for word in words]
           if word in TRIANGULAR_NUMBERS
       ]
       return len(SCREAMING_SNAKE_CASE_		)


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




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 	UpperCamelCase__  (     SCREAMING_SNAKE_CASE_	:	List[Any]       )  ->     Optional[int]:
						return {key.lstrip("""-"""       ): value for key, value in zip(unknown_args[::2]		,   unknown_args[1::2]       )}




def 	UpperCamelCase__  (     )  ->     Dict:
						_lowercase					       =					ArgumentParser(
						    """HuggingFace Datasets CLI tool"""		,   usage="""datasets-cli <command> [<args>]"""		,   allow_abbrev=SCREAMING_SNAKE_CASE_       )
						_lowercase					       =					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
						_lowercase       ,						_lowercase					       =					parser.parse_known_args()
						if not hasattr(SCREAMING_SNAKE_CASE_		,   """func"""       ):
												parser.print_help()
												exit(1       )
						_lowercase					       =					parse_unknown_args(SCREAMING_SNAKE_CASE_       )

						# Run
						_lowercase					       =					args.func(SCREAMING_SNAKE_CASE_		,   **SCREAMING_SNAKE_CASE_       )
						service.run()


if __name__ == "__main__":
		main()