
from __future__ import annotations
def       UpperCAmelCase__							(    __magic_name__  :       int					):


					'''simple docstring'''

					assert (
					    isinstance(__magic_name__							,					__magic_name__					) and mask > 0
					), f'''mask needs to be positive integer, your input {mask}'''
					lowerCAmelCase						:   Any							=       []
					lowerCAmelCase						:   List[Any]							=       mask

					while submask:
										all_submasks.append(__magic_name__					)
										lowerCAmelCase						:   Optional[int]							=       (submask - 1) & mask

					return all_submasks


if __name__ == "__main__":
		import doctest

		doctest.testmod()


def       UpperCAmelCase__							(    __magic_name__  :       Union[str, Any]							,					__magic_name__  :       int					):


					'''simple docstring'''

					sequence.append(__magic_name__					)

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

					sequence.pop()

					if index == len(__magic_name__					):
										return None

					return index


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

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