

'''simple docstring'''






def 						_A	(       A__ ):






 """simple docstring"""



 if not isinstance(A__	,							A__ ):
  raise ValueError('''Input series is not valid, valid series - [2, 4, 6]''' )
 if len(A__ ) == 0:
  raise ValueError('''Input list must be a non empty list''' )
 if len(A__ ) == 1:
  return True
 __lowercase				    =					series[1] - series[0]
 for index in range(len(A__ ) - 1 ):
  if series[index + 1] - series[index] != common_diff:
   return False
 return True


def 						_A	(       A__ ):






 """simple docstring"""



 if not isinstance(A__	,							A__ ):
  raise ValueError('''Input series is not valid, valid series - [2, 4, 6]''' )
 if len(A__ ) == 0:
  raise ValueError('''Input list must be a non empty list''' )
 __lowercase				    =					0
 for val in series:
  answer += val
 return answer / len(A__ )


if __name__ == "__main__":
 import doctest

 doctest.testmod()



"""simple docstring"""

import math




def      lowercase__    (       lowerCAmelCase					:       str			,					lowerCAmelCase					:       Optional[Any]			)			->   List[Any]:






    """simple docstring"""




    if 0 not in (x, y):
        # We use the relation x^y = y*log10(x), where 10 is the base.
        return y * math.logaa(lowerCAmelCase			)
    else:
        if x == 0:  # 0 raised to any number is 0
            return 0
        elif y == 0:
            return 1  # any number raised to 0 is 1
    raise AssertionError('This should never happen'			)


if __name__ == "__main__":  # Main function
   # Read two numbers from input and typecast them to int using map function.
   # Here x is the base and y is the power.
   SCREAMING_SNAKE_CASE_            =    '''Enter the base and the power separated by a comma: '''
   SCREAMING_SNAKE_CASE_       ,    SCREAMING_SNAKE_CASE_            =    map(int, input(prompt).split(''','''))
   SCREAMING_SNAKE_CASE_       ,    SCREAMING_SNAKE_CASE_            =    map(int, input(prompt).split(''','''))

   # We find the log of each number, using the function res(), which takes two
   # arguments.
   SCREAMING_SNAKE_CASE_            =    res(xa, ya)
   SCREAMING_SNAKE_CASE_            =    res(xa, ya)

   # We check for the largest number
   if resa > resa:
      print('''Largest number is''', xa, '''^''', ya)
   elif resa > resa:
      print('''Largest number is''', xa, '''^''', ya)
   else:
      print('''Both are equal''')



