
def 							SCREAMING_SNAKE_CASE_      (			UpperCamelCase__		):
      if len(UpperCamelCase__		) <= 1:
            return lst

      UpperCamelCase__    :   Union[str, Any]					=				1

      while i < len(UpperCamelCase__		):
            if lst[i - 1] <= lst[i]:
                  i += 1
            else:
                  UpperCamelCase__				,UpperCamelCase__    :   int					=				lst[i], lst[i - 1]
                  i -= 1
                  if i == 0:
                        UpperCamelCase__    :   Dict					=				1

      return lst


if __name__ == "__main__":
    lowerCamelCase      =input("Enter numbers separated by a comma:\n").strip()
    lowerCamelCase      =[int(item) for item in user_input.split(",")]
    print(gnome_sort(unsorted))




from __future__ import annotations

from collections.abc import Callable


def 							SCREAMING_SNAKE_CASE_      (			UpperCamelCase__ ,		UpperCamelCase__ ,		UpperCamelCase__ ,		UpperCamelCase__ = 1_0_0 ,		):
      UpperCamelCase__    :   Union[str, Any]					=				x_start
      UpperCamelCase__    :   List[Any]					=				fnc(UpperCamelCase__		)
      UpperCamelCase__    :   Any					=				0.0
      for _ in range(UpperCamelCase__		):
            # Approximates small segments of curve as linear and solve
            # for trapezoidal area
            UpperCamelCase__    :   str					=				(x_end - x_start) / steps + xa
            UpperCamelCase__    :   Dict					=				fnc(UpperCamelCase__		)
            area += abs(fxa + fxa		) * (xa - xa) / 2
            # Increment step
            UpperCamelCase__    :   Tuple					=				xa
            UpperCamelCase__    :   Union[str, Any]					=				fxa
      return area


if __name__ == "__main__":


    def 							SCREAMING_SNAKE_CASE_      (			UpperCamelCase__		):
          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      =1_0
    while i <= 1_0_0_0_0_0:
        print(F'''with {i} steps: {trapezoidal_area(f, -5, 5, i)}''')
        i *= 1_0


