
import random



def      __UpperCAmelCase    (  snake_case_							:		Tuple				):



	'''simple docstring'''



	def is_sorted(snake_case_							:		List[Any]				):
		for i in range(len(snake_case_				) - 1				):
			if collection[i] > collection[i + 1]:
				return False
		return True

	while not is_sorted(snake_case_				):
		random.shuffle(snake_case_				)
	return collection


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


def      __UpperCAmelCase    (  snake_case_							:		str				):



	'''simple docstring'''



	UpperCAmelCase:					Tuple 						=     str(snake_case_				).strip()
	if not bin_string:
		raise ValueError("Empty string was passed to the function"				)
	UpperCAmelCase:					List[Any] 						=     bin_string[0] == "-"
	if is_negative:
		UpperCAmelCase:					Optional[int] 						=     bin_string[1:]
	if not all(char in "01" for char in bin_string				):
		raise ValueError("Non-binary value was passed to the function"				)
	UpperCAmelCase:					List[str] 						=     0
	for char in bin_string:
		UpperCAmelCase:					Union[str, Any] 						=     2 * decimal_number + int(snake_case_				)
	return -decimal_number if is_negative else decimal_number


if __name__ == "__main__":
	from doctest import testmod

	testmod()
