






"""simple docstring"""


import math


def        UpperCAmelCase      (					a__     ,      a__ ):





						'''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.
		__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')







"""simple docstring"""


def        UpperCAmelCase      (					a__     ,      a__ ):





						'''simple docstring'''






						lowerCAmelCase   :Tuple						=			len(a__ )
						print('The following activities are selected:' )

						# The first activity is always selected
						lowerCAmelCase   :Dict						=			0
						print(a__     ,      end=',' )

						# Consider rest of the activities
						for j in range(a__ ):
												# If this activity has start time greater than
												# or equal to the finish time of previously
												# selected activity, then select it
												if start[j] >= finish[i]:
																		print(a__     ,      end=',' )
																		lowerCAmelCase   :List[str]						=			j


if __name__ == "__main__":
		import doctest

		doctest.testmod()

		__SCREAMING_SNAKE_CASE   =   [1, 3, 0, 5, 8, 5]
		__SCREAMING_SNAKE_CASE   =   [2, 4, 6, 7, 9, 9]
		print_max_activities(start, finish)