
"""simple docstring"""






import math
def 					UpperCamelCase		( UpperCAmelCase      ,					UpperCAmelCase			)		->Dict:

   """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(SCREAMING_SNAKE_CASE__			)
   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.
      UpperCamelCase_							=					'Enter the base and the power separated by a comma: '
      UpperCamelCase_					,			UpperCamelCase_							=					map(int, input(prompt).split(','))
      UpperCamelCase_					,			UpperCamelCase_							=					map(int, input(prompt).split(','))

      # We find the log of each number, using the function res(), which takes two
      # arguments.
      UpperCamelCase_							=					res(xa, ya)
      UpperCamelCase_							=					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')


from decimal import Decimal, getcontext
from math import ceil, factorial


def   __SCREAMING_SNAKE_CASE					(SCREAMING_SNAKE_CASE__       ):

						if not isinstance(SCREAMING_SNAKE_CASE__  ,		SCREAMING_SNAKE_CASE__       ):
												raise TypeError('''Undefined for non-integers'''       )
						elif precision < 1:
												raise ValueError('''Undefined for non-natural numbers'''       )

						snake_case_   =	precision
						snake_case_   =	ceil(precision / 14       )
						snake_case_   =	426880 * Decimal(10005       ).sqrt()
						snake_case_   =	1
						snake_case_   =	13591409
						snake_case_   =	Decimal(SCREAMING_SNAKE_CASE__       )
						for k in range(1  ,		SCREAMING_SNAKE_CASE__       ):
												snake_case_   =	factorial(6 * k       ) // (factorial(3 * k       ) * factorial(SCREAMING_SNAKE_CASE__       ) ** 3)
												linear_term += 545140134
												exponential_term *= -262537412640768000
												partial_sum += Decimal(multinomial_term * linear_term       ) / exponential_term
						return str(constant_term / partial_sum       )[:-1]


if __name__ == "__main__":
					lowerCAmelCase_       	=	50
					print(f"""The first {n} digits of pi is: {pi(n)}""")