
import numpy as np





def 						SCREAMING_SNAKE_CASE__     (   __lowerCAmelCase				):
    return 1 / (1 + np.exp(-vector				))





def 						SCREAMING_SNAKE_CASE__     (   __lowerCAmelCase				):
    return vector * sigmoid(__lowerCAmelCase				)


if __name__ == "__main__":
     import doctest

     doctest.testmod()





from math import loga





def 						SCREAMING_SNAKE_CASE__     (   __lowerCAmelCase				):
    if a < 0:
        raise ValueError("Input value must be a positive integer"				)
    elif isinstance(__lowerCAmelCase     ,		__lowerCAmelCase				):
        raise TypeError("Input value must be a 'int' type"				)
    return 0 if (a == 0) else int(loga(a & -a				)				)


if __name__ == "__main__":
     import doctest

     doctest.testmod()



