






from __future__ import annotations







def 			_a   (		SCREAMING_SNAKE_CASE_							:       List[str]  ):
					if not nums:
										return 0
					__lowerCAmelCase            = nums[0]
					__lowerCAmelCase            = 0
					for num in nums[1:]:
										__lowerCAmelCase     ,							__lowerCAmelCase            = (
										    max_excluding + num,
										    max(SCREAMING_SNAKE_CASE_   ,   SCREAMING_SNAKE_CASE_  ),
										)
					return max(SCREAMING_SNAKE_CASE_   ,   SCREAMING_SNAKE_CASE_  )


if __name__ == "__main__":
					import doctest

					doctest.testmod()










def 			_a   (		SCREAMING_SNAKE_CASE_							:       list[int]  ):
					__lowerCAmelCase            = 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]:
																				__lowerCAmelCase     ,							__lowerCAmelCase            = numbers[j], numbers[i]
					return numbers


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




