





from __future__ import annotations

def    __snake_case  (    _lowerCAmelCase       :       list[int] , _lowerCAmelCase       :       int		)       ->  bool:
   if len(__lowercase		) == 0:
      return False
   A_    : str								=	len(__lowercase		) // 2
   if a_list[midpoint] == item:
      return True
   if item < a_list[midpoint]:
      return binary_search(a_list[:midpoint] , __lowercase		)
   else:
      return binary_search(a_list[midpoint + 1 :] , __lowercase		)


if __name__ == "__main__":
 _lowerCAmelCase							:					Union[str, Any]		    =		input('''Enter numbers separated by comma:\n''').strip()
 _lowerCAmelCase							:					List[str]		    =		[int(item.strip()) for item in user_input.split(''',''')]
 _lowerCAmelCase							:					Optional[Any]		    =		int(input('''Enter the number to be found in the list:\n''').strip())
 _lowerCAmelCase							:					int		    =		'''''' if binary_search(sequence, target) else '''not '''
 print(F'''{target} was {not_str}found in {sequence}''')


import numpy as np






def        a_		(       __lowercase   :	np.array ) ->  np.array:
			return 1 / (1 + np.exp(-vector ))


if __name__ == "__main__":
			import doctest

			doctest.testmod()