


import os

# Precomputes a list of the 100 first triangular numbers
UpperCAmelCase__   	=							[int(0.5 * n * (n + 1)) for n in range(1, 101)]
def 				UpperCAmelCase_					(							)     ->			Tuple:







 """simple docstring"""


 _lowercase							      =os.path.dirname(os.path.realpath(__snake_case						)						)
 _lowercase							      =os.path.join(__snake_case     ,						'''words.txt'''						)

 _lowercase							      =''''''
 with open(__snake_case						) as f:
  _lowercase							      =f.readline()

 _lowercase							      =[word.strip('''"'''						) for word in words.strip('''\r\n'''						).split(''','''						)]
 _lowercase							      =[
     word
     for word in [sum(ord(__snake_case						) - 64 for x in word						) for word in words]
     if word in TRIANGULAR_NUMBERS
 ]
 return len(__snake_case						)


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





from typing import TYPE_CHECKING

from ..utils import _LazyModule


UpperCAmelCase__   	=							{
    '''config''': [
        '''EXTERNAL_DATA_FORMAT_SIZE_LIMIT''',
        '''OnnxConfig''',
        '''OnnxConfigWithPast''',
        '''OnnxSeq2SeqConfigWithPast''',
        '''PatchingSpec''',
    ],
    '''convert''': ['''export''', '''validate_model_outputs'''],
    '''features''': ['''FeaturesManager'''],
    '''utils''': ['''ParameterFormat''', '''compute_serialized_parameters_size'''],
}


if TYPE_CHECKING:
  from .config import (
      EXTERNAL_DATA_FORMAT_SIZE_LIMIT,
      OnnxConfig,
      OnnxConfigWithPast,
      OnnxSeqaSeqConfigWithPast,
      PatchingSpec,
  )
  from .convert import export, validate_model_outputs
  from .features import FeaturesManager
  from .utils import ParameterFormat, compute_serialized_parameters_size

else:
  import sys

  UpperCAmelCase__   	=							_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)

