



'''simple docstring'''

from math import isqrt






def 		_snake_case		( _SCREAMING_SNAKE_CASE					:						int							)      ->						bool:







	"""simple docstring"""
	return all(number % divisor != 0 for divisor in range(2							,		isqrt(_SCREAMING_SNAKE_CASE							) + 1							)							)






def 		_snake_case		( _SCREAMING_SNAKE_CASE					:						int = 10**6							)      ->						int:







	"""simple docstring"""
	lowerCAmelCase   =     0
	lowerCAmelCase   =     1
	lowerCAmelCase   =     7
	while prime_candidate < max_prime:
		primes_count += is_prime(_SCREAMING_SNAKE_CASE							)

		cube_index += 1
		prime_candidate += 6 * cube_index

	return primes_count


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




'''simple docstring'''

from ...configuration_utils import PretrainedConfig
from ...utils import logging


UpperCAmelCase     		=   logging.get_logger(__name__)

class __snake_case(				_lowerCAmelCase ):


						'''simple docstring'''



						UpperCAmelCase							:   Optional[int]									=		"timm_backbone"


						def __init__( self     ,	A_=None     ,	A_=3     ,	A_=True     ,	A_=True     ,	A_=None     ,	**A_     ,	)     ->     int:
							super().__init__(**A_				)
							lowerCAmelCase   =     backbone
							lowerCAmelCase   =     num_channels
							lowerCAmelCase   =     features_only
							lowerCAmelCase   =     use_pretrained_backbone
							lowerCAmelCase   =     True
							lowerCAmelCase   =     out_indices if out_indices is not None else (-1,)