



from __future__ import annotations

a_							=      [True] * 1000001
a_							=      2
while i * i <= 1000000:
       if seive[i]:
              for j in range(i * i, 1000001, i):
                     a_							=      False
       i += 1




def       __lowerCAmelCase      (						A_   : int					)    ->  bool:
  return seive[n]




def       __lowerCAmelCase      (						A_   : int					)    ->  bool:
  return any(digit in "02468" for digit in str(A_					)					)




def       __lowerCAmelCase      (						A_   : int = 1_00_00_00					)    ->  list[int]:
  __UpperCAmelCase						    =       [2]  # result already includes the number 2.
  for num in range(3						,	limit + 1						,	2					):
    if is_prime(A_					) and not contains_an_even_digit(A_					):
      __UpperCAmelCase						    =       str(A_					)
      __UpperCAmelCase						    =       [int(str_num[j:] + str_num[:j]					) for j in range(len(A_					)					)]
      if all(is_prime(A_					) for i in list_nums					):
        result.append(A_					)
  return result




def       __lowerCAmelCase      (						)    ->  int:
  return len(find_circular_primes()					)


if __name__ == "__main__":
       print(F"{len(find_circular_primes()) = }")




from datetime import datetime

import requests




def       __lowerCAmelCase      (						A_   : str					)    ->  bytes:
  __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__":
       a_							=      input("""Enter Video/IGTV url: """).strip()
       a_							=      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}.")



