





"""simple docstring"""




def  a_       (							_lowercase     ):
						_UpperCamelCase    :      Union[str, Any]						     =					str(UpperCamelCase__     ).strip()
						if not bin_string:
												raise ValueError('''Empty string was passed to the function'''     )
						_UpperCamelCase    :      Dict						     =					bin_string[0] == "-"
						if is_negative:
												_UpperCamelCase    :      str						     =					bin_string[1:]
						if not all(char in '''01''' for char in bin_string     ):
												raise ValueError('''Non-binary value was passed to the function'''     )
						_UpperCamelCase    :      Tuple						     =					0
						for char in bin_string:
												_UpperCamelCase    :      Dict						     =					2 * decimal_number + int(UpperCamelCase__     )
						return -decimal_number if is_negative else decimal_number


if __name__ == "__main__":
			from doctest import testmod

			testmod()










"""simple docstring"""




def  a_       (							_lowercase ,		_lowercase     ):
						sequence.append(_lowercase     )

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

						sequence.pop()

						if index == len(_lowercase     ):
												return None

						return index


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

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



