





"""simple docstring"""


def 					lowercase__    (					lowercase_ = 10**9			)					->		List[Any]:




      """simple docstring"""

      _UpperCamelCase      :	str						=       1
      _UpperCamelCase      :	Optional[Any]						=       2

      _UpperCamelCase      :	Optional[int]						=       0
      _UpperCamelCase      :	List[Any]						=       0
      _UpperCamelCase      :	int						=       0
      while perimeter <= max_perimeter:
            perimeters_sum += perimeter

            prev_value += 2 * value
            value += prev_value

            _UpperCamelCase      :	List[str]						=       2 * value + 2 if i % 2 == 0 else 2 * value - 2
            i += 1

      return perimeters_sum


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







"""simple docstring"""


from datetime import datetime

import requests
from bsa import BeautifulSoup

if __name__ == "__main__":
  lowerCamelCase__				  =   input("Enter image url: ").strip()
  print(f"""Downloading image from {url} ...""")
  lowerCamelCase__				  =   BeautifulSoup(requests.get(url).content, "html.parser")
  # The image URL is in the content field of the first meta tag with property og:image
  lowerCamelCase__				  =   soup.find("meta", {"property": "og:image"})["content"]
  lowerCamelCase__				  =   requests.get(image_url).content
  lowerCamelCase__				  =   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}.""")
