

'''simple docstring'''
def  _A		(     snake_case					)      ->     List[Any]:
   _lowercase					,				_lowercase      :				Union[str, Any]      					=       [], []
   while len(snake_case					) > 1:
      _lowercase					,				_lowercase      :				int      					=       min(snake_case					), max(snake_case					)
      start.append(snake_case					)
      end.append(snake_case					)
      collection.remove(snake_case					)
      collection.remove(snake_case					)
   end.reverse()
   return start + collection + end


if __name__ == "__main__":
    _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))






