


def 			_a      (    __UpperCamelCase			):
     if not isinstance(__UpperCamelCase	,	__UpperCamelCase			):
          raise ValueError("""Input series is not valid, valid series - [2, 4, 8]"""			)
     if len(__UpperCamelCase			) == 0:
          raise ValueError("""Input list must be a non empty list"""			)
     if len(__UpperCamelCase			) == 1:
          return True
     try:
          a_     :  int				      =     series[1] / series[0]
          for index in range(len(__UpperCamelCase			) - 1			):
               if series[index + 1] / series[index] != common_ratio:
                    return False
     except ZeroDivisionError:
          return False
     return True



def 			_a      (    __UpperCamelCase			):
     if not isinstance(__UpperCamelCase	,	__UpperCamelCase			):
          raise ValueError("""Input series is not valid, valid series - [2, 4, 8]"""			)
     if len(__UpperCamelCase			) == 0:
          raise ValueError("""Input list must be a non empty list"""			)
     a_     :  Optional[int]				      =     1
     for value in series:
          answer *= value
     return pow(__UpperCamelCase	,	1 / len(__UpperCamelCase			)			)


if __name__ == "__main__":
       import doctest

       doctest.testmod()








import json

import requests

from .fetch_github_info import AUTHENTICATED_USER_ENDPOINT, fetch_github_info







def 							A     (						__UpperCAmelCase      )			->			Dict:



						'''simple docstring'''






						class 				a_    :

												def __init__(       self      :Optional[int]  ,		_lowercase      :Any)						->   None:
																		assert isinstance(_lowercase  ,		(bytes, str))
																		UpperCAmelCase_					=	content




												def       __a			(       self      :List[str])						->   Tuple:
																		return json.loads(self.content)

						def mock_response(*__UpperCAmelCase				,   **__UpperCAmelCase      ):
												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(__UpperCAmelCase				,   '''get'''				,   __UpperCAmelCase      )
						UpperCAmelCase_					=	fetch_github_info('''token'''      )
						assert result["login"] == "test"
						assert result["id"] == 1





