





from abc import ABC, abstractmethod
from argparse import ArgumentParser






class     lowercase__       (	__lowerCamelCase				):

   '''simple docstring'''


   @staticmethod
   @abstractmethod
   def       UpperCamelCase__  (    __magic_name__							) ->      Optional[Any]:






       """simple docstring"""
       raise NotImplementedError()




   @abstractmethod
   def       UpperCamelCase__  (    self							) ->      str:






       """simple docstring"""
       raise NotImplementedError()








from __future__ import annotations




def 		lowerCAmelCase_    (  __UpperCAmelCase:			list[int]		,   __UpperCAmelCase:			int      )      ->	list[int]:
    UpperCamelCase__							:				Optional[int]          =      0
    UpperCamelCase__							:				Tuple          =      len(__UpperCAmelCase      ) - 1

    while i < j:
        if nums[i] + nums[j] == target:
            return [i, j]
        elif nums[i] + nums[j] < target:
            UpperCamelCase__							:				Tuple          =      i + 1
        else:
            UpperCamelCase__							:				str          =      j - 1

    return []


if __name__ == "__main__":
  import doctest

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

