

"""simple docstring"""




def   __SCREAMING_SNAKE_CASE		(		lowercase__ ):
					"""simple docstring"""
					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:
										A     =   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__ ):
					"""simple docstring"""
					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" )
					A     =   1
					for value in series:
										answer *= value
					return pow(lowercase__     ,				1 / len(lowercase__ ) )


if __name__ == "__main__":
	import doctest

	doctest.testmod()








"""simple docstring"""




import sys

sys.set_int_max_str_digits(0)  # type: ignore
def   __SCREAMING_SNAKE_CASE		(		lowercase__ ):
					"""simple docstring"""
					A     =   [0] * 11
					A     =   [0] * 11

					# mark last 9 numbers
					for _ in range(9 ):
										A     =   1
										A     =   number // 10
					# flag
					A     =   True

					# check last 9 numbers for pandigitality

					for x in range(9 ):
										if not check_last[x + 1]:
															A     =   False
					if not f:
										return f

					# mark first 9 numbers
					A     =   int(str(lowercase__ )[:9] )

					for _ in range(9 ):
										A     =   1
										A     =   number // 10

					# check first 9 numbers for pandigitality

					for x in range(9 ):
										if not check_front[x + 1]:
															A     =   False
					return f
def   __SCREAMING_SNAKE_CASE		(		lowercase__ ):
					"""simple docstring"""
					A     =   [0] * 11

					# mark last 9 numbers
					for _ in range(9 ):
										A     =   1
										A     =   number // 10
					# flag
					A     =   True

					# check last 9 numbers for pandigitality

					for x in range(9 ):
										if not check_last[x + 1]:
															A     =   False
					return f
def   __SCREAMING_SNAKE_CASE		(		):
					"""simple docstring"""
					A     =   1
					A     =   1
					A     =   2
					# temporary Fibonacci numbers

					A     =   1
					A     =   1
					A     =   2
					# temporary Fibonacci numbers mod 1e9

					# mod m=1e9, done for fast optimisation
					A     =   [0] * 1_000_000
					A     =   1_000_000_000

					for x in range(1_000_000 ):
										A     =   (aa + ba) % m
										A     =   ba % m
										A     =   ca % m
										if checka(lowercase__ ):
															A     =   1

					for x in range(1_000_000 ):
										A     =   a + b
										A     =   b
										A     =   c
										# perform check only if in tocheck
										if tocheck[x + 3] and check(lowercase__ ):
															return x + 3  # first 2 already done
					return -1


if __name__ == "__main__":
	print(f"""{solution() = }""")





