






import os

# Precomputes a list of the 100 first triangular numbers
lowercase  :							List[Any]			  =    [int(0.5 * n * (n + 1)) for n in range(1, 1_01)]

def      lowerCAmelCase__	(    ):
		snake_case_				:							Union[str, Any]						 =       os.path.dirname(os.path.realpath(_a    )    )
		snake_case_				:							Any						 =       os.path.join(_a  ,      "words.txt"    )

		snake_case_				:							Dict						 =       ""
		with open(_a    ) as f:
				snake_case_				:							Union[str, Any]						 =       f.readline()

		snake_case_				:							Union[str, Any]						 =       [word.strip("\""    ) for word in words.strip("\r\n"    ).split(","    )]
		snake_case_				:							Tuple						 =       [
		    word
		    for word in [sum(ord(_a    ) - 64 for x in word    ) for word in words]
		    if word in TRIANGULAR_NUMBERS
		]
		return len(_a    )


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








from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


lowercase  :							Optional[int]			  =    {
    '''configuration_nllb_moe''': [
        '''NLLB_MOE_PRETRAINED_CONFIG_ARCHIVE_MAP''',
        '''NllbMoeConfig''',
    ]
}

try:
							if not is_torch_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							lowercase  :							Optional[Any]			  =    [
							    '''NLLB_MOE_PRETRAINED_MODEL_ARCHIVE_LIST''',
							    '''NllbMoeForConditionalGeneration''',
							    '''NllbMoeModel''',
							    '''NllbMoePreTrainedModel''',
							    '''NllbMoeTop2Router''',
							    '''NllbMoeSparseMLP''',
							]


if TYPE_CHECKING:
							from .configuration_nllb_moe import (
							    NLLB_MOE_PRETRAINED_CONFIG_ARCHIVE_MAP,
							    NllbMoeConfig,
							)

							try:
														if not is_torch_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .modeling_nllb_moe import (
														    NLLB_MOE_PRETRAINED_MODEL_ARCHIVE_LIST,
														    NllbMoeForConditionalGeneration,
														    NllbMoeModel,
														    NllbMoePreTrainedModel,
														    NllbMoeSparseMLP,
														    NllbMoeTopaRouter,
														)


else:
							import sys

							lowercase  :							Tuple			  =    _LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)
