






import numpy as np
def       snake_case_		(     lowerCAmelCase_       :						np.ndarray      ):
							return 1 / (1 + np.exp(-vector      ))
def       snake_case_		(     lowerCAmelCase_       :						np.ndarray      ):
							return vector * sigmoid(lowerCAmelCase_      )


if __name__ == "__main__":
	import doctest

	doctest.testmod()












from __future__ import annotations
def       snake_case_		(     lowerCAmelCase_       :						list[int]      ):
							if not nums:
														return 0
							__lowercase      :							Tuple				=     nums[0]
							__lowercase      :							Tuple				=     0
							for num in nums[1:]:
														__lowercase			,			__lowercase      :							List[str]				=     (
														    max_excluding + num,
														    max(lowerCAmelCase_       ,       lowerCAmelCase_      ),
														)
							return max(lowerCAmelCase_       ,       lowerCAmelCase_      )


if __name__ == "__main__":
	import doctest

	doctest.testmod()