

"""simple docstring"""




import random
def    __SCREAMING_SNAKE_CASE						(						lowercase__      ):
					"""simple docstring"""

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

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


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








"""simple docstring"""




import doctest

import projectq
from projectq.ops import H, Measure
def    __SCREAMING_SNAKE_CASE						(						lowercase__      ):
					"""simple docstring"""
					A			=					quantum_engine.allocate_qubit()
					H | qubit
					Measure | qubit
					return int(lowercase__      )


if __name__ == "__main__":
	doctest.testmod()

	# initialises a new quantum backend
	__A     :    Dict    =		projectq.MainEngine()

	# Generate a list of 10 random numbers
	__A     :    Any    =		[get_random_number(quantum_engine) for _ in range(10)]

	# Flushes the quantum engine from memory
	quantum_engine.flush()

	print('Random numbers', random_numbers_list)





