



"""simple docstring"""





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

      UpperCAmelCase_     					=				1

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

      return lst


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






from math import loga





def 						SCREAMING_SNAKE_CASE__     (   __lowerCAmelCase				):
    if a < 0:
        raise ValueError("Input value must be a positive integer"				)
    elif isinstance(__lowerCAmelCase     ,		__lowerCAmelCase				):
        raise TypeError("Input value must be a 'int' type"				)
    return 0 if (a == 0) else int(loga(a & -a				)				)


if __name__ == "__main__":
     import doctest

     doctest.testmod()



