





'''simple docstring'''


def 							UpperCAmelCase_  (						__lowerCamelCase : list[int]			):
			lowercase_      :List[str]         =			len(__lowerCamelCase			)
			for i in range(__lowerCamelCase			):
						for j in range(i + 1     ,__lowerCamelCase			):
									if numbers[j] < numbers[i]:
												lowercase_      :Any         =			numbers[j], numbers[i]
			return numbers


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









'''simple docstring'''


def 							UpperCAmelCase_  (						__lowerCamelCase : list			):
   if len(__lowerCamelCase			) <= 1:
      return lst

   lowercase_      :Optional[Any]         =			1

   while i < len(__lowerCamelCase			):
      if lst[i - 1] <= lst[i]:
         i += 1
      else:
         lowercase_      ,							lowercase_      :int         =			lst[i], lst[i - 1]
         i -= 1
         if i == 0:
            lowercase_      :Dict         =			1

   return lst


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


