





'''simple docstring'''

import os

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







def  a__    (    )		->		Optional[Any]:





     """simple docstring"""

     _UpperCamelCase       =	os.path.dirname(os.path.realpath(lowercase				)				)
     _UpperCamelCase       =	os.path.join(lowercase, '''words.txt'''				)

     _UpperCamelCase       =	''''''
     with open(lowercase				) as f:
          _UpperCamelCase       =	f.readline()

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


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










'''simple docstring'''

import random
class     __lowerCAmelCase					:






       """simple docstring"""





       @staticmethod
       def snake_case__						(							lowerCAmelCase__       :		str					)   ->					tuple[list[int], list[int]]:

            '''simple docstring'''




            _UpperCamelCase       =	[ord(lowerCAmelCase__					) for i in text]
            _UpperCamelCase       =	[]
            _UpperCamelCase       =	[]
            for i in plain:
                 _UpperCamelCase       =	random.randint(1	,			300					)
                 _UpperCamelCase       =	(i + k) * k
                 cipher.append(lowerCAmelCase__					)
                 key.append(lowerCAmelCase__					)
            return cipher, key







       @staticmethod
       def snake_case__						(							lowerCAmelCase__       :		list[int]	,			lowerCAmelCase__       :		list[int]					)   ->					str:

            '''simple docstring'''




            _UpperCamelCase       =	[]
            for i in range(len(lowerCAmelCase__					)					):
                 _UpperCamelCase       =	int((cipher[i] - (key[i]) ** 2) / key[i]					)
                 plain.append(chr(lowerCAmelCase__					)					)
            return "".join(lowerCAmelCase__					)


if __name__ == "__main__":
   lowercase__	,       lowercase__						:      List[str]	=    Onepad().encrypt('Hello')
   print(c, k)
   print(Onepad().decrypt(c, k))



