



import os

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



def 		lowerCAmelCase__    (					)->  Optional[int]:
    A__		 =					os.path.dirname(os.path.realpath(UpperCamelCase_	)	)
    A__		 =					os.path.join(UpperCamelCase_ ,       '''words.txt'''	)

    A__		 =					''''''
    with open(UpperCamelCase_	) as f:
        A__		 =					f.readline()

    A__		 =					[word.strip('''"'''	) for word in words.strip('''\r\n'''	).split(''','''	)]
    A__		 =					[
        word
        for word in [sum(ord(UpperCamelCase_	) - 6_4 for x in word	) for word in words]
        if word in TRIANGULAR_NUMBERS
    ]
    return len(UpperCamelCase_	)


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







from ...configuration_utils import PretrainedConfig
from ...utils import logging


_lowercase						  =		logging.get_logger(__name__)



class     _UpperCAmelCase			(       A__     ):
     UpperCamelCase__		    =				'''timm_backbone'''




     def __init__(				self ,						a__=None ,						a__=3 ,						a__=True ,						a__=True ,						a__=None ,						**a__ ,						):
         super().__init__(**a__)
         A__		 =					backbone
         A__		 =					num_channels
         A__		 =					features_only
         A__		 =					use_pretrained_backbone
         A__		 =					True
         A__		 =					out_indices if out_indices is not None else (-1,)
