




import json

import requests

from .fetch_github_info import AUTHENTICATED_USER_ENDPOINT, fetch_github_info



def     lowerCAmelCase		(		_lowerCAmelCase				: str						):




 """simple docstring"""







 class       _UpperCamelCase   :
       def __init__(      self :List[Any]			,   lowerCamelCase :Tuple   )  ->      None:
        assert isinstance(lowerCamelCase			,   (bytes, str)   )
        UpperCAmelCase__							=    content







       def 						UpperCAmelCase_    (      self :Any   )  ->      Dict:
        return json.loads(self.content   )

 def mock_response(*_lowerCAmelCase				: Union[str, Any]    ,				**_lowerCAmelCase				: Any						):
  assert args[0] == AUTHENTICATED_USER_ENDPOINT
  assert "Authorization" in kwargs["headers"]
  assert kwargs["headers"]["Authorization"].startswith("token "						)
  assert "Accept" in kwargs["headers"]
  return FakeResponse(B"{\"login\":\"test\",\"id\":1}"						)

 monkeypatch.setattr(_lowerCAmelCase    ,				"get"    ,				_lowerCAmelCase						)
 UpperCAmelCase__							=    fetch_github_info("token"						)
 assert result["login"] == "test"
 assert result["id"] == 1











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")





