

import math



def    __UpperCAmelCase (	__a      :			Optional[Any]		,__a      :			List[str]	)			->     Optional[int]:

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

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






def    __UpperCAmelCase (	__a      :			float	)			->     float:

					"""simple docstring"""

					return 10 - x * x



def    __UpperCAmelCase (	__a      :			float		,__a      :			float	)			->     float:

					"""simple docstring"""

					if equation(__a	) * equation(__a	) >= 0:
										raise ValueError('''Wrong space!'''	)

					_a	:    Dict         =		a
					while (b - a) >= 0.01:
										# Find middle point
										_a	:    Any         =		(a + b) / 2
										# Check if middle point is root
										if equation(__a	) == 0.0:
															break
										# Decide the side to repeat the steps
										if equation(__a	) * equation(__a	) < 0:
															_a	:    str         =		c
										else:
															_a	:    Union[str, Any]         =		c
					return c


if __name__ == "__main__":
			import doctest

			doctest.testmod()

			print(bisection(-2, 5))
			print(bisection(0, 6))



