
from __future__ import annotations



def      _a     (   __UpperCamelCase       :  list[int]	,__UpperCamelCase       :  int    ):
   lowerCAmelCase__ :    dict[int, int]				      =			{}
   for index, val in enumerate(__UpperCamelCase    ):
      lowerCAmelCase__ :    Tuple				      =			target - val
      if compl in chk_map:
         return [chk_map[compl], index]
      lowerCAmelCase__ :    Union[str, Any]				      =			index
   return []


if __name__ == "__main__":
       import doctest

       doctest.testmod()
       print(f"""{two_sum([2, 7, 1_1, 1_5], 9) = }""")





import abc
import copy
import dataclasses
from dataclasses import dataclass
from typing import ClassVar, Dict, Type, TypeVar

from ..features import Features


A__       :   Tuple   						=					TypeVar("""T""", bound="""TaskTemplate""")





@dataclass(frozen=__UpperCamelCase					)
class 						lowercase       (  abc.ABC					):
					# `task` is not a ClassVar since we want it to be part of the `asdict` output for JSON serialization
					__a					=    42
					__a					=    42
					__a					=    42
					def lowercase_			(		self ,	SCREAMING_SNAKE_CASE__    ):
								"""simple docstring"""







								return copy.deepcopy(self    )
					@property
					def lowercase_			(		self    ):
								"""simple docstring"""







								return Features(**self.input_schema ,	**self.label_schema    )
					@property
					@abc.abstractmethod
					def lowercase_			(		self    ):
								"""simple docstring"""







								raise NotImplementedError
					@classmethod
					def lowercase_			(		cls ,	SCREAMING_SNAKE_CASE__    ):
								"""simple docstring"""







								lowerCAmelCase__ :    List[Any]				      =			{f.name for f in dataclasses.fields(cls    )}
								return cls(**{k: v for k, v in template_dict.items() if k in field_names}    )



