



'''simple docstring'''



def 	__lowerCAmelCase       (				lowerCamelCase :    List[Any]       ):






	'''simple docstring'''




	__lowerCAmelCase       				=	len(lowerCamelCase       )
	for _ in range(
	    0					,		int(((no_of_elements - 1) / 2) + 1       )       ):  # we don't need to traverse to end of list as
		for j in range(0					,		no_of_elements - 1       ):
			if (
			    lst[j + 1] < lst[j]
			):  # applying bubble sort algorithm from left to right (or forwards)
				__lowerCAmelCase       				=	lst[j + 1]
				__lowerCAmelCase       				=	lst[j]
				__lowerCAmelCase       				=	temp
			if (
			    lst[no_of_elements - 1 - j] < lst[no_of_elements - 2 - j]
			):  # applying bubble sort algorithm from right to left (or backwards)
				__lowerCAmelCase       				=	lst[no_of_elements - 1 - j]
				__lowerCAmelCase       				=	lst[no_of_elements - 2 - j]
				__lowerCAmelCase       				=	temp
	return lst


if __name__ == "__main__":
	print('''enter the list to be sorted''')
	lowerCAmelCase						:		Optional[Any]						      = [int(x) for x in input().split()]  # inputing elements of the list in one line
	lowerCAmelCase						:		int						      = double_sort(lst)
	print('''the sorted list is''')
	print(sorted_lst)




'''simple docstring'''



lowerCAmelCase						:		Tuple						      = '''
# Diffusers installation
! pip install diffusers transformers datasets accelerate
# To install from source instead of the last release, comment the command above and uncomment the following one.
# ! pip install git+https://github.com/huggingface/diffusers.git
'''

lowerCAmelCase						:		Tuple						      = [{'''type''': '''code''', '''content''': INSTALL_CONTENT}]