




def 	_a      (						SCREAMING_SNAKE_CASE_							:				str      ,      SCREAMING_SNAKE_CASE_							:				bool = False     ):



					if not isinstance(SCREAMING_SNAKE_CASE_      ,      SCREAMING_SNAKE_CASE_     ):
										__lowerCAmelCase				   =       F"""Expected string as input, found {type(SCREAMING_SNAKE_CASE_     )}"""
										raise ValueError(SCREAMING_SNAKE_CASE_     )
					if not isinstance(SCREAMING_SNAKE_CASE_      ,      SCREAMING_SNAKE_CASE_     ):
										__lowerCAmelCase				   =       F"""Expected boolean as use_pascal parameter, found {type(SCREAMING_SNAKE_CASE_     )}"""
										raise ValueError(SCREAMING_SNAKE_CASE_     )

					__lowerCAmelCase				   =       input_str.split("_"     )

					__lowerCAmelCase				   =       0 if use_pascal else 1

					__lowerCAmelCase				   =       words[start_index:]

					__lowerCAmelCase				   =       [word[0].upper() + word[1:] for word in words_to_capitalize]

					__lowerCAmelCase				   =       "" if use_pascal else words[0]

					return "".join([initial_word, *capitalized_words]     )


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

					testmod()










def 			_SCREAMING_SNAKE_CASE			(							lowercase	:       list     ):


      '''simple docstring'''



      for i in range(len(lowercase     ) - 1	,							0	,							-1     ):
            lowerCamelCase_		     =    False

            for j in range(lowercase	,							0	,							-1     ):
                  if unsorted[j] < unsorted[j - 1]:
                        lowerCamelCase_     ,				lowerCamelCase_		     =    unsorted[j - 1], unsorted[j]
                        lowerCamelCase_		     =    True

            for j in range(lowercase     ):
                  if unsorted[j] > unsorted[j + 1]:
                        lowerCamelCase_     ,				lowerCamelCase_		     =    unsorted[j + 1], unsorted[j]
                        lowerCamelCase_		     =    True

            if not swapped:
                  break
      return unsorted


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 lowerCamelCase				:		Any     =   input("Enter numbers separated by a comma:\n").strip()
 lowerCamelCase				:		Dict     =   [int(item) for item in user_input.split(",")]
 print(F"""{cocktail_shaker_sort(unsorted) = }""")



