"""simple docstring"""




def 				_UpperCAmelCase		(							lowerCamelCase__  ):





		"""simple docstring"""




		lowerCAmelCase__   = hex_num.strip()
		if not hex_num:
				raise ValueError("""No value was passed to the function"""  )

		lowerCAmelCase__   = hex_num[0] == """-"""
		if is_negative:
				lowerCAmelCase__   = hex_num[1:]

		try:
				lowerCAmelCase__   = int(lowerCamelCase__      ,	16  )
		except ValueError:
				raise ValueError("""Invalid value was passed to the function"""  )

		lowerCAmelCase__   = """"""
		while int_num > 0:
				lowerCAmelCase__   = str(int_num % 2  ) + bin_str
				int_num >>= 1

		return int(("""-""" + bin_str) if is_negative else bin_str  )


if __name__ == "__main__":
			import doctest

			doctest.testmod()





"""simple docstring"""




def 				_UpperCAmelCase		(							lowerCamelCase__  ):





		"""simple docstring"""




		if len(lowerCamelCase__  ) <= 1:
				return lst

		lowerCAmelCase__   = 1

		while i < len(lowerCamelCase__  ):
				if lst[i - 1] <= lst[i]:
						i += 1
				else:
						lowerCAmelCase__ ,       lowerCAmelCase__   = lst[i], lst[i - 1]
						i -= 1
						if i == 0:
								lowerCAmelCase__   = 1

		return lst


if __name__ == "__main__":
			__lowerCAmelCase     :				List[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))




