





'''simple docstring'''

from math import isqrt





def 						UpperCamelCase    (							_lowerCamelCase : int	):
    return all(number % divisor != 0 for divisor in range(2						,	isqrt(_lowerCamelCase	) + 1	)	)





def 						UpperCamelCase    (							_lowerCamelCase : int = 10**6	):
    A__    =      0
    A__    =      1
    A__    =      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() = }""")










'''simple docstring'''

from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


__lowerCAmelCase							:     Any		     ={
    "configuration_swinv2": ["SWINV2_PRETRAINED_CONFIG_ARCHIVE_MAP", "Swinv2Config"],
}


try:
  if not is_torch_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  __lowerCAmelCase							:     Tuple		     =[
      "SWINV2_PRETRAINED_MODEL_ARCHIVE_LIST",
      "Swinv2ForImageClassification",
      "Swinv2ForMaskedImageModeling",
      "Swinv2Model",
      "Swinv2PreTrainedModel",
  ]


if TYPE_CHECKING:
  from .configuration_swinva import SWINV2_PRETRAINED_CONFIG_ARCHIVE_MAP, SwinvaConfig

  try:
    if not is_torch_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .modeling_swinva import (
        SWINV2_PRETRAINED_MODEL_ARCHIVE_LIST,
        SwinvaForImageClassification,
        SwinvaForMaskedImageModeling,
        SwinvaModel,
        SwinvaPreTrainedModel,
    )


else:
  import sys

  __lowerCAmelCase							:     List[Any]		     =_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)



