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


def SCREAMING_SNAKE_CASE				(     lowercase_:	list				):
       if not isinstance(lowercase_		,						lowercase_				):
              raise ValueError('Input series is not valid, valid series - [2, 4, 8]'				)
       if len(lowercase_				) == 0:
              raise ValueError('Input list must be a non empty list'				)
       _UpperCamelCase     :       Optional[Any]  						=  1
       for value in series:
              answer *= value
       return pow(lowercase_		,						1 / len(lowercase_				)				)


if __name__ == "__main__":
 import doctest

 doctest.testmod()




from ..utils import requires_backends


UpperCAmelCase					=				None




class    __lowerCAmelCase  :



 '''simple docstring'''

 def __init__(			self       :		Optional[int]       ,			*lowerCamelCase       :		Dict       ,			**lowerCamelCase       :		int  ) ->							Tuple:
        requires_backends(self       ,			['detectron2']  )

 @classmethod
 def 					__snake_case					(			cls       :		Optional[Any]       ,			*lowerCamelCase       :		Optional[int]       ,			**lowerCamelCase       :		Tuple  ) ->							List[str]:
        requires_backends(cls       ,			['detectron2']  )



