






def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase ,   __lowerCAmelCase      )			->     str:
     if number < 0 or shift_amount < 0:
          raise ValueError("both inputs must be positive integers"      )

     UpperCamelCase__      :       Optional[Any]	    =  str(bin(__lowerCAmelCase      )      )
     binary_number += "0" * shift_amount
     return binary_number







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase ,   __lowerCAmelCase      )			->     str:
     if number < 0 or shift_amount < 0:
          raise ValueError("both inputs must be positive integers"      )

     UpperCamelCase__      :       Any	    =  str(bin(__lowerCAmelCase      )      )[2:]
     if shift_amount >= len(__lowerCAmelCase      ):
          return "0b0"
     UpperCamelCase__      :       List[str]	    =  binary_number[: len(__lowerCAmelCase      ) - shift_amount]
     return "0b" + shifted_binary_number







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase ,   __lowerCAmelCase      )			->     str:
     if number >= 0:  # Get binary representation of positive number
          UpperCamelCase__      :       int	    =  "0" + str(bin(__lowerCAmelCase      )      ).strip("-"      )[2:]
     else:  # Get binary (2's complement) representation of negative number
          UpperCamelCase__      :       Union[str, Any]	    =  len(bin(__lowerCAmelCase      )[3:]      )  # Find 2's complement of number
          UpperCamelCase__      :       List[str]	    =  bin(abs(__lowerCAmelCase      ) - (1 << binary_number_length)      )[3:]
          UpperCamelCase__      :       Dict	    =  (
              "1" + "0" * (binary_number_length - len(__lowerCAmelCase      )) + binary_number
          )

     if shift_amount >= len(__lowerCAmelCase      ):
          return "0b" + binary_number[0] * len(__lowerCAmelCase      )
     return (
         "0b"
         + binary_number[0] * shift_amount
         + binary_number[: len(__lowerCAmelCase      ) - shift_amount]
     )


if __name__ == "__main__":
 import doctest

 doctest.testmod()







from __future__ import annotations







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase ,   __lowerCAmelCase      )			->     list[int]:
     UpperCamelCase__      :       Optional[Any]	    =  0
     UpperCamelCase__      :       Any	    =  len(__lowerCAmelCase      ) - 1

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

     return []


if __name__ == "__main__":
 import doctest

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