

'''simple docstring'''
def  _A		(     snake_case       )      ->     list:

   def merge(snake_case		,							snake_case       ) -> 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(snake_case       ) <= 1:
      return collection
   _lowercase      :				Union[str, Any]      					=       len(snake_case       ) // 2
   return merge(merge_sort(collection[:mid]       )		,							merge_sort(collection[mid:]       )       )


if __name__ == "__main__":
    import doctest

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









'''simple docstring'''
def  _A		(     snake_case		,							snake_case					)      ->     int:
   return int((input_a, input_a).count(0					) != 0					)







def  _A		(     )      ->     None:
   assert nand_gate(0		,							0					) == 1
   assert nand_gate(0		,							1					) == 1
   assert nand_gate(1		,							0					) == 1
   assert nand_gate(1		,							1					) == 0


if __name__ == "__main__":
    print(nand_gate(0, 0))
    print(nand_gate(0, 1))
    print(nand_gate(1, 0))
    print(nand_gate(1, 1))






