



'''simple docstring'''




import math



def      a      (			lowerCamelCase__   ):
   '''simple docstring'''





   A_     :						List[str]     =					[]
   A_     :						Optional[int]     =					2
   A_     :						Union[str, Any]     =					int(math.sqrt(_snake_case   )   )  # Size of every segment
   A_     :						int     =					[True] * (end + 1)
   A_     :						List[Any]     =					[]

   while start <= end:
      if temp[start] is True:
         in_prime.append(_snake_case   )
         for i in range(start * start						,				end + 1						,				_snake_case   ):
            A_     :						Any     =					False
      start += 1
   prime += in_prime

   A_     :						Union[str, Any]     =					end + 1
   A_     :						Optional[int]     =					min(2 * end						,				_snake_case   )

   while low <= n:
      A_     :						List[Any]     =					[True] * (high - low + 1)
      for each in in_prime:
         A_     :						Any     =					math.floor(low / each   ) * each
         if t < low:
            t += each

         for j in range(_snake_case						,				high + 1						,				_snake_case   ):
            A_     :						List[str]     =					False

      for j in range(len(_snake_case   )   ):
         if temp[j] is True:
            prime.append(j + low   )

      A_     :						List[str]     =					high + 1
      A_     :						Optional[int]     =					min(high + end						,				_snake_case   )

   return prime

print(sieve(1_0**6))




'''simple docstring'''




def      a      (			lowerCamelCase__						,				lowerCamelCase__   ):
			'''simple docstring'''





			if density <= 0:
						raise ValueError("""Impossible fluid density"""   )
			if bulk_modulus <= 0:
						raise ValueError("""Impossible bulk modulus"""   )

			return (bulk_modulus / density) ** 0.5


if __name__ == "__main__":
						import doctest

						doctest.testmod()