






"""simple docstring"""





def   lowerCAmelCase_( SCREAMING_SNAKE_CASE					)					->	int:
    """simple docstring"""

    if not numbers:
        return 0

    if not isinstance(SCREAMING_SNAKE_CASE ,	(list, tuple)					) or not all(
        isinstance(SCREAMING_SNAKE_CASE ,	SCREAMING_SNAKE_CASE					) for number in numbers					):
        raise ValueError('numbers must be an iterable of integers'					)

    UpperCamelCase__         =    UpperCamelCase__         =    UpperCamelCase__         =    numbers[0]

    for i in range(1 ,	len(SCREAMING_SNAKE_CASE					)					):
        # update the maximum and minimum subarray products
        UpperCamelCase__         =    numbers[i]
        if number < 0:
            UpperCamelCase__       ,						UpperCamelCase__         =    min_till_now, max_till_now
        UpperCamelCase__         =    max(SCREAMING_SNAKE_CASE ,	max_till_now * number					)
        UpperCamelCase__         =    min(SCREAMING_SNAKE_CASE ,	min_till_now * number					)

        # update the maximum product found till now
        UpperCamelCase__         =    max(SCREAMING_SNAKE_CASE ,	SCREAMING_SNAKE_CASE					)

    return max_prod












"""simple docstring"""





def   lowerCAmelCase_( SCREAMING_SNAKE_CASE					)					->	list[int]:
    """simple docstring"""

    UpperCamelCase__         =    len(SCREAMING_SNAKE_CASE					)
    for i in range(SCREAMING_SNAKE_CASE					):
        for j in range(i + 1 ,	SCREAMING_SNAKE_CASE					):
            if numbers[j] < numbers[i]:
                UpperCamelCase__       ,						UpperCamelCase__         =    numbers[j], numbers[i]
    return numbers


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




