

'''simple docstring'''






import os

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


def 						_A	(       ):






 """simple docstring"""



 __lowercase				    =					os.path.dirname(os.path.realpath(A__ ) )
 __lowercase				    =					os.path.join(A__	,							'''words.txt''' )

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

 __lowercase				    =					[word.strip('''"''' ) for word in words.strip('''\r\n''' ).split(''',''' )]
 __lowercase				    =					[
     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())







'''simple docstring'''


import requests
def 						snake_case_       (UpperCamelCase			:    str					,		UpperCamelCase			:    str ):





							'''simple docstring'''


							_a      	=							{'''Content-Type''': '''application/json'''}
							_a      	=							requests.post(UpperCamelCase					,		json={'''text''': message_body}					,		headers=UpperCamelCase )
							if response.status_code != 200:
														_a      	=							(
														    '''Request to slack returned an error '''
														    f'{response.status_code}, the response is:\n{response.text}'
														)
														raise ValueError(UpperCamelCase )


if __name__ == "__main__":
				# Set the slack url to the one provided by Slack when you create the webhook at
				# https://my.slack.com/services/new/incoming-webhook/
				send_slack_message('<YOUR MESSAGE BODY>', '<SLACK CHANNEL URL>')

