



def 		a__			(		_UpperCamelCase			: list							):
   if len(_UpperCamelCase							) <= 1:
      return lst

   __lowerCamelCase													=    1

   while i < len(_UpperCamelCase							):
      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__":
  a_			=					input("""Enter numbers separated by a comma:\n""").strip()
  a_			=					[int(item) for item in user_input.split(""",""")]
  print(gnome_sort(unsorted))











def 		a__			(		_UpperCamelCase			: str ,_UpperCamelCase			: str = " "							):
   __lowerCamelCase													=    []

   __lowerCamelCase													=    0
   for index, char in enumerate(_UpperCamelCase							):
      if char == separator:
         split_words.append(string[last_index:index]							)
         __lowerCamelCase													=    index + 1
      elif index + 1 == len(_UpperCamelCase							):
         split_words.append(string[last_index : index + 1]							)
   return split_words


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

  testmod()






