



from ..utils import DummyObject, requires_backends







class       _snake_case				(     metaclass=__snake_case ):






   '''simple docstring'''






   A__      : Optional[Any]       =						["torch", "transformers", "k_diffusion"]


   def __init__(    self:     Optional[Any]  ,*lowerCamelCase_:     Dict  ,**lowerCamelCase_:     str							)	->      Union[str, Any]:
       requires_backends(self  ,["""torch""", """transformers""", """k_diffusion"""]							)


   @classmethod
   def       A__    (    cls:     str  ,*lowerCamelCase_:     List[Any]  ,**lowerCamelCase_:     Tuple							)	->      int:
       requires_backends(cls  ,["""torch""", """transformers""", """k_diffusion"""]							)






   @classmethod
   def       A__    (    cls:     Union[str, Any]  ,*lowerCamelCase_:     Optional[int]  ,**lowerCamelCase_:     str							)	->      Optional[Any]:
       requires_backends(cls  ,["""torch""", """transformers""", """k_diffusion"""]							)






def     lowerCAmelCase		(		_lowerCAmelCase				: Tuple    ,				_lowerCAmelCase				: Tuple						):




 """simple docstring"""







 sequence.append(_lowerCAmelCase						)

 UpperCAmelCase__							=    0
 while sequence[index] != target:
  index += 1

 sequence.pop()

 if index == len(_lowerCAmelCase						):
  return None

 return index


if __name__ == "__main__":
  _lowerCAmelCase    : List[Any]		= input("Enter numbers separated by comma:\n").strip()
  _lowerCAmelCase    : Dict		= [int(item) for item in user_input.split(",")]

  _lowerCAmelCase    : Optional[Any]		= input("Enter a single number to be found in the list:\n")
  _lowerCAmelCase    : Tuple		= int(target_input)
  _lowerCAmelCase    : int		= sentinel_linear_search(sequence, target)
  if result is not None:
    print(F'''{target} found at positions: {result}''')
  else:
    print("Not found")





