


'''simple docstring'''
from __future__ import annotations


def       a				(      __a			, __a       )  ->     bool:



					'''simple docstring'''






					if len(__a       ) == 0:
										return False
					UpperCamelCase__       :List[Any]							 =			len(__a       ) // 2
					if a_list[midpoint] == item:
										return True
					if item < a_list[midpoint]:
										return binary_search(a_list[:midpoint]			, __a       )
					else:
										return binary_search(a_list[midpoint + 1 :]			, __a       )


if __name__ == "__main__":
		__snake_case											=					input('''Enter numbers separated by comma:\n''').strip()
		__snake_case											=					[int(item.strip()) for item in user_input.split(''',''')]
		__snake_case											=					int(input('''Enter the number to be found in the list:\n''').strip())
		__snake_case											=					'''''' if binary_search(sequence, target) else '''not '''
		print(F"""{target} was {not_str}found in {sequence}""")



'''simple docstring'''
# tests directory-specific settings - this file is run automatically
# by pytest before any tests are run

import sys
import warnings
from os.path import abspath, dirname, join


# allow having multiple repository checkouts and not needing to remember to rerun
# 'pip install -e .[dev]' when switching between checkouts and running tests.
__snake_case											=					abspath(join(dirname(dirname(__file__)), '''src'''))
sys.path.insert(1, git_repo_path)

# silence FutureWarning warnings in tests since often we can't act on them until
# they become normal warnings - i.e. the tests still need to test the current functionality
warnings.simplefilter(action='''ignore''', category=FutureWarning)


def       a				(      __a       )  ->     Optional[int]:



					'''simple docstring'''






					from diffusers.utils.testing_utils import pytest_addoption_shared

					pytest_addoption_shared(__a       )







def       a				(      __a       )  ->     str:



					'''simple docstring'''






					from diffusers.utils.testing_utils import pytest_terminal_summary_main

					UpperCamelCase__       :Union[str, Any]							 =			terminalreporter.config.getoption('''--make-reports'''       )
					if make_reports:
										pytest_terminal_summary_main(__a			, id=__a       )