



"""simple docstring"""
from math import isqrt





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





def  lowerCamelCase_						(UpperCamelCase__		:		int = 10**6							):
    _UpperCAmelCase							:  Optional[int]											=    0
    _UpperCAmelCase							:  Tuple											=    1
    _UpperCAmelCase							:  Tuple											=    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


_lowerCAmelCase    :int     =					{'configuration_vit_msn': ['VIT_MSN_PRETRAINED_CONFIG_ARCHIVE_MAP', 'ViTMSNConfig']}

try:
  if not is_torch_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  _lowerCAmelCase    :Any     =					[
      'VIT_MSN_PRETRAINED_MODEL_ARCHIVE_LIST',
      'ViTMSNModel',
      'ViTMSNForImageClassification',
      'ViTMSNPreTrainedModel',
  ]

if TYPE_CHECKING:
  from .configuration_vit_msn import VIT_MSN_PRETRAINED_CONFIG_ARCHIVE_MAP, ViTMSNConfig

  try:
    if not is_torch_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .modeling_vit_msn import (
        VIT_MSN_PRETRAINED_MODEL_ARCHIVE_LIST,
        ViTMSNForImageClassification,
        ViTMSNModel,
        ViTMSNPreTrainedModel,
    )

else:
  import sys

  _lowerCAmelCase    :int     =					_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)


