



"""simple docstring"""







def      __UpperCAmelCase      (    __lowerCamelCase						,     __lowerCamelCase	)							->      List[Any]:
		lowercase__   :    str				=			(boundary[1] - boundary[0]) / steps
		lowercase__   :    Optional[int]				=			boundary[0]
		lowercase__   :    Any				=			boundary[1]
		lowercase__   :    Optional[int]				=			make_points(SCREAMING_SNAKE_CASE_						,     SCREAMING_SNAKE_CASE_						,     SCREAMING_SNAKE_CASE_	)
		lowercase__   :    str				=			0.0
		y += (h / 2.0) * f(SCREAMING_SNAKE_CASE_	)
		for i in x_i:
				# print(i)
				y += h * f(SCREAMING_SNAKE_CASE_	)
		y += (h / 2.0) * f(SCREAMING_SNAKE_CASE_	)
		return y



def      __UpperCAmelCase      (    __lowerCamelCase						,     __lowerCamelCase						,     __lowerCamelCase	)							->      Tuple:
		lowercase__   :    List[Any]				=			a + h
		while x < (b - h):
				yield x
				lowercase__   :    str				=			x + h



def      __UpperCAmelCase      (    __lowerCamelCase	)							->      Any:  # enter your function here
		lowercase__   :    Optional[int]				=			(x - 0) * (x - 0)
		return y



def      __UpperCAmelCase      (    )							->      Union[str, Any]:
		lowercase__   :    Tuple				=			0.0  # Lower bound of integration
		lowercase__   :    Tuple				=			1.0  # Upper bound of integration
		lowercase__   :    Dict				=			1_0.0  # define number of steps or resolution
		lowercase__   :    Any				=			[a, b]  # define boundary of integration
		lowercase__   :    Optional[Any]				=			method_a(SCREAMING_SNAKE_CASE_						,     SCREAMING_SNAKE_CASE_	)
		print(f"""y = {y}"""	)


if __name__ == "__main__":
							main()



import math

def 	snake_case__			(    SCREAMING_SNAKE_CASE_		:    int			):



     '''simple docstring'''





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

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

     lowercase__    :   Optional[int]      =       end + 1
     lowercase__    :   List[str]      =       min(2 * end	,     SCREAMING_SNAKE_CASE_			)

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

               for j in range(SCREAMING_SNAKE_CASE_	,     high + 1	,     SCREAMING_SNAKE_CASE_			):
                    lowercase__    :   Optional[Any]      =       False

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

          lowercase__    :   Optional[Any]      =       high + 1
          lowercase__    :   Optional[int]      =       min(high + end	,     SCREAMING_SNAKE_CASE_			)

     return prime

print(sieve(10**6))

