



'''simple docstring'''





def lowerCAmelCase						(__A):



     """simple docstring"""



     if collection == []:
          return []

     # get some information about the collection
     _a											=						len(__A)
     _a											=						max(__A)
     _a											=						min(__A)

     # 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						,			__A):
          _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						,			__A)):
          _a											=						collection[i]
          counting_arr[collection[i] - coll_min] -= 1

     return ordered




def lowerCAmelCase						(__A):



     """simple docstring"""



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


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

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








'''simple docstring'''





# This is the module that test_patching.py uses to test patch_submodule()

import os  # noqa: this is just for tests
import os as renamed_os  # noqa: this is just for tests
from os import path  # noqa: this is just for tests
from os import path as renamed_path  # noqa: this is just for tests
from os.path import join  # noqa: this is just for tests
from os.path import join as renamed_join  # noqa: this is just for tests


lowercase_	 =						open  # noqa: we just need to have a builtin inside this module to test it properly



