





'''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 .imports import is_tqdm_available


if is_tqdm_available():
  from tqdm.auto import tqdm as _tqdm

from ..state import PartialState





def 						UpperCamelCase    (							_lowerCamelCase : bool = True						,	*_lowerCamelCase : Optional[int]						,	**_lowerCamelCase : Optional[Any]	):
    if not is_tqdm_available():
        raise ImportError("Accelerate's `tqdm` module requires `tqdm` to be installed. Please run `pip install tqdm`."	)
    A__    =      False
    if main_process_only:
        A__    =      PartialState().local_process_index == 0
    return _tqdm(*_lowerCamelCase						,	**_lowerCamelCase						,	disable=_lowerCamelCase	)



