

from __future__ import annotations

def 			lowerCamelCase__			(       _a				,      _a):
	SCREAMING_SNAKE_CASE :   str					  =							0
	SCREAMING_SNAKE_CASE :   Tuple					  =							len(_a) - 1

	while i < j:
		if nums[i] + nums[j] == target:
			return [i, j]
		elif nums[i] + nums[j] < target:
			SCREAMING_SNAKE_CASE :   Optional[int]					  =							i + 1
		else:
			SCREAMING_SNAKE_CASE :   List[str]					  =							j - 1

	return []


if __name__ == "__main__":
			import doctest

			doctest.testmod()
			print(F'''{two_pointer([2, 7, 11, 15], 9) = }''')


def 			lowerCamelCase__			(       _a				,      _a):
	SCREAMING_SNAKE_CASE :   Optional[int]					  =							0
	while b > 0:
		if b & 1:
			res += a

		a += a
		b >>= 1

	return res

def 			lowerCamelCase__			(       _a				,      _a				,      _a):
	SCREAMING_SNAKE_CASE :   Optional[int]					  =							0
	while b > 0:
		if b & 1:
			SCREAMING_SNAKE_CASE :   Optional[Any]					  =							((res % c) + (a % c)) % c

		a += a
		b >>= 1

	return res