


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


     """simple docstring"""


     __UpperCamelCase      =       limit + 1
     __UpperCamelCase      =       [0] * limit
     for first_term in range(1 ,   __A      ):
          for n in range(__A ,   __A ,   __A      ):
               __UpperCamelCase      =       first_term + n / first_term
               if common_difference % 4:  # d must be divisble by 4
                    continue
               else:
                    common_difference /= 4
                    if (
                        first_term > common_difference
                        and first_term < 4 * common_difference
                    ):  # since x,y,z are positive integers
                         frequency[n] += 1  # so z>0 and a>d ,also 4d<a

     __UpperCamelCase      =       sum(1 for x in frequency[1:limit] if x == 10      )

     return count


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








from datetime import datetime

import requests


def    A						(__A   :    str       )   ->      bytes:







     """simple docstring"""


     UpperCAmelCase_          =							'''https://downloadgram.net/wp-json/wppress/video-downloader/video?url='''
     UpperCAmelCase_          =							requests.get(base_url + url       ).json()[0]['''urls'''][0]['''src''']
     return requests.get(__A       ).content


if __name__ == "__main__":
    snake_case_ : Optional[Any]    		=       input("Enter Video/IGTV url: ").strip()
    snake_case_ : Any    		=       f"{datetime.now():%Y-%m-%d_%H:%M:%S}.mp4"
    with open(file_name, "wb") as fp:
        fp.write(download_video(url))
    print(f"Done. Video saved to disk as {file_name}.")






