


'''simple docstring'''




def 				a_							(    lowercase     )      ->bool:






				'''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:
								__lowerCamelCase		:   Optional[Any]           =       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 				a_							(    lowercase     )      ->float:






				'''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"     )
				__lowerCamelCase		:   Optional[int]           =       1
				for value in series:
								answer *= value
				return pow(lowercase				,    1 / len(lowercase     )     )


if __name__ == "__main__":
				import doctest

				doctest.testmod()









'''simple docstring'''




def 				a_							(    lowercase				,    lowercase     )      ->list:






				'''simple docstring'''

				__lowerCamelCase		:   int           =       len(lowercase     )
				__lowerCamelCase		:   int           =       len(lowercase     )
				__lowerCamelCase		:   int           =       (
				    first_input_list_length
				    if first_input_list_length > second_input_list_length
				    else second_input_list_length
				)
				__lowerCamelCase		:   list           =       []
				for char_count in range(lowercase     ):
								if char_count < first_input_list_length:
												output_result_list.append(first_input_list[char_count]     )
								if char_count < second_input_list_length:
												output_result_list.append(second_input_list[char_count]     )

				return output_result_list


if __name__ == "__main__":
				print(alternative_list_arrange(["""A""", """B""", """C"""], [1, 2, 3, 4, 5]), end=""" """)





