
'''simple docstring'''
from ..utils import DummyObject, requires_backends







class 			__A					(			metaclass=_snake_case      ):
 lowerCamelCase												=['''torch''', '''transformers''', '''invisible_watermark''']
 def __init__( self      :     Any					, *lowerCamelCase      :     Any					, **lowerCamelCase      :     Union[str, Any]							):



   """simple docstring"""





   requires_backends(self					, ["""torch""", """transformers""", """invisible_watermark"""]							)
 @classmethod
 def 		lowercase_( cls      :     Any					, *lowerCamelCase      :     Union[str, Any]					, **lowerCamelCase      :     Any							):



   """simple docstring"""





   requires_backends(cls					, ["""torch""", """transformers""", """invisible_watermark"""]							)






 @classmethod
 def 		lowercase_( cls      :     int					, *lowerCamelCase      :     List[str]					, **lowerCamelCase      :     str							):



   """simple docstring"""





   requires_backends(cls					, ["""torch""", """transformers""", """invisible_watermark"""]							)







class 			__A					(			metaclass=_snake_case      ):
 lowerCamelCase												=['''torch''', '''transformers''', '''invisible_watermark''']
 def __init__( self      :     List[str]					, *lowerCamelCase      :     Union[str, Any]					, **lowerCamelCase      :     Dict							):



   """simple docstring"""





   requires_backends(self					, ["""torch""", """transformers""", """invisible_watermark"""]							)
 @classmethod
 def 		lowercase_( cls      :     List[Any]					, *lowerCamelCase      :     int					, **lowerCamelCase      :     Optional[int]							):



   """simple docstring"""





   requires_backends(cls					, ["""torch""", """transformers""", """invisible_watermark"""]							)






 @classmethod
 def 		lowercase_( cls      :     int					, *lowerCamelCase      :     Tuple					, **lowerCamelCase      :     Dict							):



   """simple docstring"""





   requires_backends(cls					, ["""torch""", """transformers""", """invisible_watermark"""]							)








def 		__snake_case						(    _UpperCAmelCase       ,			_UpperCAmelCase				):
					"""simple docstring"""






					for index, item in enumerate(_UpperCAmelCase				):
										if item == target:
															return index
					return -1





def 		__snake_case						(    _UpperCAmelCase       ,			_UpperCAmelCase       ,			_UpperCAmelCase       ,			_UpperCAmelCase				):
					"""simple docstring"""






					if not (0 <= high < len(_UpperCAmelCase				) and 0 <= low < len(_UpperCAmelCase				)):
										raise Exception('Invalid upper or lower bound!'				)
					if high < low:
										return -1
					if sequence[low] == target:
										return low
					if sequence[high] == target:
										return high
					return rec_linear_search(_UpperCAmelCase       ,			low + 1       ,			high - 1       ,			_UpperCAmelCase				)


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

		__magic_name__       =     int(input('''Enter a single number to be found in the list:\n''').strip())
		__magic_name__       =     linear_search(sequence, target)
		if result != -1:
				print(F"""linear_search({sequence}, {target}) = {result}""")
		else:
				print(F"""{target} was not found in {sequence}""")






