
from __future__ import annotations

from collections.abc import Callable






def 	a_		(	__lowercase       :     Callable[[int | float], int | float]	, __lowercase       :     int | float	, __lowercase       :     int | float	, __lowercase       :     int = 100	, )			->  List[Any]:
			_snake_case          =      x_start
			_snake_case          =      fnc(__lowercase			)
			_snake_case          =      0.0
			for _ in range(__lowercase			):
						# Approximates small segments of curve as linear and solve
						# for trapezoidal area
						_snake_case          =      (x_end - x_start) / steps + xa
						_snake_case          =      fnc(__lowercase			)
						area += abs(fxa + fxa			) * (xa - xa) / 2
						# Increment step
						_snake_case          =      xa
						_snake_case          =      fxa
			return area


if __name__ == "__main__":






			def 	a_		(	__lowercase       :     Union[str, Any]			)			->  Optional[Any]:
						return x**3 + x**2

			print('''f(x) = x^3 + x^2''')
			print('''The area between the curve, x = -5, x = 5 and the x axis is:''')
			_lowerCamelCase	:    Union[str, Any]          =      10
			while i <= 100_000:
						print(F'with {i} steps: {trapezoidal_area(f, -5, 5, i)}')
						i *= 10

def 	a_		(	__lowercase       :     List[Any]			)			->  Tuple:
			_snake_case          =      len(__lowercase			)
			for i in range(length - 1			):
						_snake_case          =      i
						for k in range(i + 1	, __lowercase			):
									if collection[k] < collection[least]:
												_snake_case          =      k
						if least != i:
									_snake_case     , _snake_case          =      (collection[i], collection[least])
			return collection


if __name__ == "__main__":
			_lowerCamelCase	:    str          =      input('''Enter numbers separated by a comma:\n''').strip()
			_lowerCamelCase	:    List[Any]          =      [int(item) for item in user_input.split(''',''')]
			print(selection_sort(unsorted))