


from ..utils import DummyObject, requires_backends






class   __lowercase				(  metaclass=__snake_case  ):
      UpperCamelCase								=       ['''torch''', '''scipy''']





      def __init__(		self						:					List[str]					,       *__lowerCamelCase						:					Tuple					,       **__lowerCamelCase						:					Any       )    ->   Optional[int]:






         """simple docstring"""







         requires_backends(self					,       ["""torch""", """scipy"""]       )





      @classmethod
      def        _lowercase				(		cls						:					Any					,       *__lowerCamelCase						:					Optional[Any]					,       **__lowerCamelCase						:					List[str]       )    ->   List[str]:






         """simple docstring"""







         requires_backends(cls					,       ["""torch""", """scipy"""]       )





      @classmethod
      def        _lowercase				(		cls						:					List[str]					,       *__lowerCamelCase						:					Optional[Any]					,       **__lowerCamelCase						:					Any       )    ->   Optional[int]:






         """simple docstring"""







         requires_backends(cls					,       ["""torch""", """scipy"""]       )







from math import isqrt
def   _UpperCamelCase				(						lowerCAmelCase_   )						->bool:
   return all(number % divisor != 0 for divisor in range(2  ,						isqrt(lowerCAmelCase_   ) + 1   )   )
def   _UpperCamelCase				(						lowerCAmelCase_ = 1_0**6   )						->int:
   UpperCAmelCase							=     0
   UpperCAmelCase							=     1
   UpperCAmelCase							=     7
   while prime_candidate < max_prime:
      primes_count += is_prime(lowerCAmelCase_   )

      cube_index += 1
      prime_candidate += 6 * cube_index

   return primes_count


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



