




"""simple docstring"""

from math import isqrt



def 					a			(    __snake_case  :					int	):



				'''simple docstring'''





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



def 					a			(    __snake_case  :					int = 10**6	):



				'''simple docstring'''





				UpperCAmelCase_       :str         =   0
				UpperCAmelCase_       :Optional[int]         =   1
				UpperCAmelCase_       :int         =   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() = }''')




def 							SCREAMING_SNAKE_CASE_	(					UpperCAmelCase_	:     list				)			->						float:
       SCREAMING_SNAKE_CASE_							:				Dict		=0
       while len(UpperCAmelCase_				) > 1:
              SCREAMING_SNAKE_CASE_							:				Tuple		=0
              # Consider two files with minimum cost to be merged
              for _ in range(2				):
                     SCREAMING_SNAKE_CASE_							:				int		=files.index(min(UpperCAmelCase_				)				)
                     temp += files[min_index]
                     files.pop(UpperCAmelCase_				)
              files.append(UpperCAmelCase_				)
              optimal_merge_cost += temp
       return optimal_merge_cost


if __name__ == "__main__":
 import doctest

 doctest.testmod()
