"""simple docstring"""




def 							SCREAMING_SNAKE_CASE					(      _lowerCamelCase						:	List[Any]     )	->				int:
  _lowerCAmelCase      ,     _lowerCAmelCase						:	Dict        =					[], []
  while len(_lowerCamelCase     ) > 1:
    _lowerCAmelCase      ,     _lowerCAmelCase						:	str        =					min(_lowerCamelCase     ), max(_lowerCamelCase     )
    start.append(_lowerCamelCase     )
    end.append(_lowerCamelCase     )
    collection.remove(_lowerCamelCase     )
    collection.remove(_lowerCamelCase     )
  end.reverse()
  return start + collection + end


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





"""simple docstring"""




def 							SCREAMING_SNAKE_CASE					(      _lowerCamelCase						:	str      ,_lowerCamelCase						:	bool = False     )	->				str:

  if not isinstance(_lowerCamelCase      ,_lowerCamelCase     ):
    _lowerCAmelCase						:	Union[str, Any]        =					f"Expected string as input, found {type(_lowerCamelCase     )}"
    raise ValueError(_lowerCamelCase     )
  if not isinstance(_lowerCamelCase      ,_lowerCamelCase     ):
    _lowerCAmelCase						:	Union[str, Any]        =					f"Expected boolean as use_pascal parameter, found {type(_lowerCamelCase     )}"
    raise ValueError(_lowerCamelCase     )

  _lowerCAmelCase						:	str        =					input_str.split("""_"""     )

  _lowerCAmelCase						:	Optional[int]        =					0 if use_pascal else 1

  _lowerCAmelCase						:	List[Any]        =					words[start_index:]

  _lowerCAmelCase						:	Union[str, Any]        =					[word[0].upper() + word[1:] for word in words_to_capitalize]

  _lowerCAmelCase						:	List[Any]        =					"""""" if use_pascal else words[0]

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


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

     testmod()




