


def 						_A						(						_lowercase = 1_00      ) ->      int:


     """simple docstring"""


     __UpperCamelCase      =       n * (n + 1) * (2 * n + 1) / 6
     __UpperCamelCase      =       (n * (n + 1) / 2) ** 2
     return int(square_of_sum - sum_of_squares      )


if __name__ == "__main__":
    print(f"""{solution() = }""")






'''simple docstring'''







from datetime import datetime

import requests
from bsa import BeautifulSoup

if __name__ == "__main__":
   A__:    Union[str, Any]					    =       input('''Enter image url: ''').strip()
   print(F"Downloading image from {url} ...")
   A__:    Tuple					    =       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__:    Union[str, Any]					    =       soup.find('''meta''', {'''property''': '''og:image'''})['''content''']
   A__:    List[Any]					    =       requests.get(image_url).content
   A__:    List[str]					    =       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}.")


