


'''simple docstring'''







def        __lowercase						(      __SCREAMING_SNAKE_CASE		)				->					List[str]:
     """simple docstring"""




     if collection == []:
          return []

     # get some information about the collection
     __a       =   len(__SCREAMING_SNAKE_CASE		)
     __a       =   max(__SCREAMING_SNAKE_CASE		)
     __a       =   min(__SCREAMING_SNAKE_CASE		)

     # create the counting array
     __a       =   coll_max + 1 - coll_min
     __a       =   [0] * counting_arr_length

     # count how much a number appears in the collection
     for number in collection:
          counting_arr[number - coll_min] += 1

     # sum each position with it's predecessors. now, counting_arr[i] tells
     # us how many elements <= i has in the collection
     for i in range(1				,  __SCREAMING_SNAKE_CASE		):
          __a       =   counting_arr[i] + counting_arr[i - 1]

     # create the output collection
     __a       =   [0] * coll_len

     # place the elements in the output, respecting the original order (stable
     # sort) from end to begin, updating counting_arr
     for i in reversed(range(0				,  __SCREAMING_SNAKE_CASE		)		):
          __a       =   collection[i]
          counting_arr[collection[i] - coll_min] -= 1

     return ordered




def        __lowercase						(      __SCREAMING_SNAKE_CASE		)				->					Tuple:
     """simple docstring"""




     return "".join([chr(__SCREAMING_SNAKE_CASE		) for i in counting_sort([ord(__SCREAMING_SNAKE_CASE		) for c in string]		)]		)


if __name__ == "__main__":
 # Test string sort
 assert counting_sort_string('thisisthestring') == "eghhiiinrsssttt"

 SCREAMING_SNAKE_CASE_      =			input('Enter numbers separated by a comma:\n').strip()
 SCREAMING_SNAKE_CASE_      =			[int(item) for item in user_input.split(',')]
 print(counting_sort(unsorted))










'''simple docstring'''







def        __lowercase						(      __SCREAMING_SNAKE_CASE		)				->					str:
     """simple docstring"""




     return " ".join(input_str.split()[::-1]		)


if __name__ == "__main__":
 import doctest

 doctest.testmod()






