






import os

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



def 					_lowerCamelCase(			):





				'''simple docstring'''







				SCREAMING_SNAKE_CASE_   :	List[str]													=   os.path.dirname(os.path.realpath(lowerCAmelCase__      )      )
				SCREAMING_SNAKE_CASE_   :	Union[str, Any]													=   os.path.join(lowerCAmelCase__    ,    'words.txt'      )

				SCREAMING_SNAKE_CASE_   :	str													=   ''
				with open(lowerCAmelCase__      ) as f:
								SCREAMING_SNAKE_CASE_   :	Optional[Any]													=   f.readline()

				SCREAMING_SNAKE_CASE_   :	Any													=   [word.strip('"'      ) for word in words.strip('\r\n'      ).split(','      )]
				SCREAMING_SNAKE_CASE_   :	Dict													=   [
				    word
				    for word in [sum(ord(lowerCAmelCase__      ) - 64 for x in word      ) for word in words]
				    if word in TRIANGULAR_NUMBERS
				]
				return len(lowerCAmelCase__      )


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







from datetime import datetime

import requests
from bsa import BeautifulSoup

if __name__ == "__main__":
				A        =			input('Enter image url: ').strip()
				print(f"""Downloading image from {url} ...""")
				A        =			BeautifulSoup(requests.get(url).content, 'html.parser')
				# The image URL is in the content field of the first meta tag with property og:image
				A        =			soup.find('meta', {'property': 'og:image'})['content']
				A        =			requests.get(image_url).content
				A        =			f"""{datetime.now():%Y-%m-%d_%H:%M:%S}.jpg"""
				with open(file_name, 'wb') as fp:
								fp.write(image_data)
				print(f"""Done. Image saved to disk as {file_name}.""")