





def    SCREAMING_SNAKE_CASE							(			snake_case	,      snake_case       )		->						int:
		__lowercase					=    1
		while b > 0:
				if b & 1:
						res *= a

				a *= a
				b >>= 1

		return res



def    SCREAMING_SNAKE_CASE							(			snake_case	,      snake_case	,      snake_case       )		->						List[str]:
		__lowercase					=    1
		while b > 0:
				if b & 1:
						__lowercase					=    ((res % c) * (a % c)) % c

				a *= a
				b >>= 1

		return res











def    SCREAMING_SNAKE_CASE							(			snake_case       )		->						int:
		__lowercase					=    str(snake_case       ).strip()
		if not bin_string:
				raise ValueError('Empty string was passed to the function'       )
		__lowercase					=    bin_string[0] == '-'
		if is_negative:
				__lowercase					=    bin_string[1:]
		if not all(char in '01' for char in bin_string       ):
				raise ValueError('Non-binary value was passed to the function'       )
		__lowercase					=    0
		for char in bin_string:
				__lowercase					=    2 * decimal_number + int(snake_case       )
		return -decimal_number if is_negative else decimal_number


if __name__ == "__main__":
		from doctest import testmod

		testmod()




