




def  SCREAMING_SNAKE_CASE     (	__UpperCamelCase      :						list				)  ->							list:

    def merge(__UpperCamelCase      :						list	,					__UpperCamelCase      :						list				) -> list:

        def _merge():
            while left and right:
                yield (left if left[0] <= right[0] else right).pop(0				)
            yield from left
            yield from right

        return list(_merge()				)

    if len(__UpperCamelCase				) <= 1:
        return collection
    UpperCAmelCase_										=					len(__UpperCamelCase				) // 2
    return merge(merge_sort(collection[:mid]				)	,					merge_sort(collection[mid:]				)				)


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 _lowerCamelCase      			=						input('Enter numbers separated by a comma:\n').strip()
 _lowerCamelCase      			=						[int(item) for item in user_input.split(',')]
 print(*merge_sort(unsorted), sep=',')











import baseaa




def  SCREAMING_SNAKE_CASE     (	__UpperCamelCase      :						str				)  ->							bytes:
    return baseaa.baaencode(string.encode('''utf-8'''				)				)




def  SCREAMING_SNAKE_CASE     (	__UpperCamelCase      :						bytes				)  ->							str:
    return baseaa.baadecode(__UpperCamelCase				).decode('''utf-8'''				)


if __name__ == "__main__":
 _lowerCamelCase      			=						'Hello World!'
 _lowerCamelCase      			=						baseaa_encode(test)
 print(encoded)

 _lowerCamelCase      			=						baseaa_decode(encoded)
 print(decoded)





