





def      _A       (		SCREAMING_SNAKE_CASE     :   list						):





  """simple docstring"""



  def merge(SCREAMING_SNAKE_CASE     :   list       ,       SCREAMING_SNAKE_CASE     :   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(SCREAMING_SNAKE_CASE						) <= 1:
    return collection
  a__	:					Optional[Any]										=len(SCREAMING_SNAKE_CASE						) // 2
  return merge(merge_sort(collection[:mid]						)       ,       merge_sort(collection[mid:]						)						)


if __name__ == "__main__":
     import doctest

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









def 		_lowercase (     lowercase__   ,	lowercase__						):
      if a < 0 or b < 0:
            raise ValueError('''the value of both inputs must be positive'''						)
      __lowerCAmelCase					:						int					=					str(bin(lowercase__						)						)[2:]  # remove the leading "0b"
      __lowerCAmelCase					:						Any					=					str(bin(lowercase__						)						)[2:]
      __lowerCAmelCase					:						List[str]					=					max(len(lowercase__						)   ,	len(lowercase__						)						)
      return "0b" + "".join(
          str(int('''1''' in (char_a, char_b)						)						)
          for char_a, char_b in zip(a_binary.zfill(lowercase__						)   ,	b_binary.zfill(lowercase__						)						)						)


if __name__ == "__main__":
 import doctest

 doctest.testmod()


