





"""simple docstring"""






from __future__ import annotations



def  __lowerCamelCase					(					lowerCAmelCase__       ,lowerCAmelCase__				):
				if len(lowerCAmelCase__				) == 0:
								return False
				A__							 =       len(lowerCAmelCase__				) // 2
				if a_list[midpoint] == item:
								return True
				if item < a_list[midpoint]:
								return binary_search(a_list[:midpoint]       ,lowerCAmelCase__				)
				else:
								return binary_search(a_list[midpoint + 1 :]       ,lowerCAmelCase__				)


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










"""simple docstring"""






import numpy as np



def  __lowerCamelCase					(					lowerCAmelCase__				):
				return 1 / (1 + np.exp(-vector				))



def  __lowerCamelCase					(					lowerCAmelCase__				):
				return vector * sigmoid(lowerCAmelCase__				)


if __name__ == "__main__":
					import doctest

					doctest.testmod()


