






import os

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





def    __lowerCAmelCase   (    ):
     __lowerCAmelCase             =       os.path.dirname(os.path.realpath(__snake_case							)							)
     __lowerCAmelCase             =       os.path.join(__snake_case       ,			"words.txt"							)

     __lowerCAmelCase             =       ""
     with open(__snake_case							) as f:
          __lowerCAmelCase             =       f.readline()

     __lowerCAmelCase             =       [word.strip("\""							) for word in words.strip("\r\n"							).split(","							)]
     __lowerCAmelCase             =       [
         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 math import pow, sqrt





def    __lowerCAmelCase   (    *__snake_case							):
     __lowerCAmelCase             =       len(__snake_case							) > 0 and all(value > 0.0 for value in values							)
     return result





def    __lowerCAmelCase   (    __snake_case       ,			__snake_case							):
     return (
         round(sqrt(molar_mass_a / molar_mass_a							)       ,			6							)
         if validate(__snake_case       ,			__snake_case							)
         else ValueError("Input Error: Molar mass values must greater than 0."							)
     )





def    __lowerCAmelCase   (    __snake_case       ,			__snake_case       ,			__snake_case							):
     return (
         round(effusion_rate * sqrt(molar_mass_a / molar_mass_a							)       ,			6							)
         if validate(__snake_case       ,			__snake_case       ,			__snake_case							)
         else ValueError(
             "Input Error: Molar mass and effusion rate values must greater than 0."							)
     )





def    __lowerCAmelCase   (    __snake_case       ,			__snake_case       ,			__snake_case							):
     return (
         round(effusion_rate / sqrt(molar_mass_a / molar_mass_a							)       ,			6							)
         if validate(__snake_case       ,			__snake_case       ,			__snake_case							)
         else ValueError(
             "Input Error: Molar mass and effusion rate values must greater than 0."							)
     )





def    __lowerCAmelCase   (    __snake_case       ,			__snake_case       ,			__snake_case							):
     return (
         round(molar_mass / pow(effusion_rate_a / effusion_rate_a       ,			2							)       ,			6							)
         if validate(__snake_case       ,			__snake_case       ,			__snake_case							)
         else ValueError(
             "Input Error: Molar mass and effusion rate values must greater than 0."							)
     )





def    __lowerCAmelCase   (    __snake_case       ,			__snake_case       ,			__snake_case							):
     return (
         round(pow(effusion_rate_a / effusion_rate_a       ,			2							) / molar_mass       ,			6							)
         if validate(__snake_case       ,			__snake_case       ,			__snake_case							)
         else ValueError(
             "Input Error: Molar mass and effusion rate values must greater than 0."							)
     )






