


"""simple docstring"""

from math import isqrt


def lowerCAmelCase_		(				UpperCamelCase__	: int ):






 """simple docstring"""







 return all(number % divisor != 0 for divisor in range(2				,   isqrt(_UpperCamelCase ) + 1 ) )


def lowerCAmelCase_		(				UpperCamelCase__	: int = 10**6 ):






 """simple docstring"""







 __lowercase									=	0
 __lowercase									=	1
 __lowercase									=	7
 while prime_candidate < max_prime:
  primes_count += is_prime(_UpperCamelCase )

  cube_index += 1
  prime_candidate += 6 * cube_index

 return primes_count


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




"""simple docstring"""

from typing import TYPE_CHECKING

from ....utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


UpperCAmelCase__  							={"configuration_van": ["VAN_PRETRAINED_CONFIG_ARCHIVE_MAP", "VanConfig"]}


try:
       if not is_torch_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       UpperCAmelCase__  							=[
           "VAN_PRETRAINED_MODEL_ARCHIVE_LIST",
           "VanForImageClassification",
           "VanModel",
           "VanPreTrainedModel",
       ]

if TYPE_CHECKING:
       from .configuration_van import VAN_PRETRAINED_CONFIG_ARCHIVE_MAP, VanConfig

       try:
              if not is_torch_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .modeling_van import (
                  VAN_PRETRAINED_MODEL_ARCHIVE_LIST,
                  VanForImageClassification,
                  VanModel,
                  VanPreTrainedModel,
              )

else:
       import sys

       UpperCAmelCase__  							=_LazyModule(__name__, globals()["__file__"], _import_structure)
